mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Replace write! with direct calls
This commit is contained in:
parent
b594f9c441
commit
1a37b17162
13 changed files with 59 additions and 49 deletions
|
@ -121,7 +121,7 @@ impl Display for ModPath {
|
|||
f.write_str("::")?;
|
||||
}
|
||||
first_segment = false;
|
||||
write!(f, "{}", segment)?;
|
||||
segment.fmt(f)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue