mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
More symbol usage
This commit is contained in:
parent
c30bdfcc84
commit
df5f1777b8
50 changed files with 388 additions and 303 deletions
|
@ -82,8 +82,7 @@ impl HirDisplay for Function {
|
|||
f.write_str("unsafe ")?;
|
||||
}
|
||||
if let Some(abi) = &data.abi {
|
||||
// FIXME: String escape?
|
||||
write!(f, "extern \"{}\" ", &**abi)?;
|
||||
write!(f, "extern \"{}\" ", abi.as_str())?;
|
||||
}
|
||||
write!(f, "fn {}", data.name.display(f.db.upcast()))?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue