pub fn group<'a>(doc: impl Into<Doc<'a>>) -> Doc<'a>
Group a document if it contains a line break. A group is a document that is printed on a single line if it fits the page, otherwise it is printed with line breaks.