Skip to main content

set_trailing_comments

Function set_trailing_comments 

Source
pub fn set_trailing_comments(doc: &mut DocumentMut, lines: &[String])
Expand description

Replace the comment lines after the last item, keeping the blank lines before them.