Searched defs:ends_with_newline (Results 1 – 4 of 4) sorted by relevance
18 pub fn ends_with_newline(&self, indent_style: IndentStyle) -> bool { in ends_with_newline() method
27 ends_with_newline: bool, field73 pub(crate) fn ends_with_newline(mut self, ends_with_newline: bool) -> Self { in ends_with_newline() method925 let ends_with_newline = context.config.indent_style() != IndentStyle::Visual in struct_lit_formatting() localVariable
621 let ends_with_newline = match tactic { in rewrite_items() localVariable
1019 let ends_with_newline = context.config.imports_indent() == IndentStyle::Block in rewrite_nested_use_tree() localVariable