mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
More manual clippy fixes
This commit is contained in:
parent
b8ddcb0652
commit
eceaf94f19
32 changed files with 141 additions and 159 deletions
|
@ -40,7 +40,7 @@ impl Diagnostic for MissingFields {
|
|||
use std::fmt::Write;
|
||||
let mut message = String::from("Missing structure fields:\n");
|
||||
for field in &self.missed_fields {
|
||||
write!(message, "- {}\n", field).unwrap();
|
||||
writeln!(message, "- {}", field).unwrap();
|
||||
}
|
||||
message
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue