Skip to main content

space_items

Function space_items 

Source
pub fn space_items(src: &str) -> String
Expand description

Put blank lines between the items of a pretty-printed Rust file (prettyplease prints none; rustfmt keeps them but never adds them): before an item that follows a } or a use group at the same indentation, and after the file’s inner attributes. Idempotent.