pub(crate) fn write_list<I, T>( items: I, formatting: &ListFormatting<'_>, ) -> Result<String, RewriteError>where I: IntoIterator<Item = T> + Clone, T: AsRef<ListItem>,