···173173 }
174174}
175175176176-impl<'string, 'doc, D: Documentable<'string, 'doc>> Documentable<'string, 'doc> for Option<D> {
177177- fn to_doc(self, arena: &'doc DocumentArena<'string, 'doc>) -> Document<'string, 'doc> {
178178- self.map(|documentable| documentable.to_doc(arena))
179179- .unwrap_or(arena.nil())
180180- }
181181-}
182182-183176impl<'string, 'doc> Document<'string, 'doc> {
184177 /// Groups a document. When pretty printing a group, the formatter will
185178 /// first attempt to fit the entire group on one line. If it fails, all