Remove unnecessary sigils around Ident::as_str()
calls.
This commit is contained in:
parent
056d48a2c9
commit
b1c934ebb8
31 changed files with 41 additions and 42 deletions
|
@ -167,7 +167,7 @@ crate fn qpath_to_string(p: &hir::QPath<'_>) -> String {
|
|||
s.push_str("::");
|
||||
}
|
||||
if seg.ident.name != kw::PathRoot {
|
||||
s.push_str(&seg.ident.as_str());
|
||||
s.push_str(seg.ident.as_str());
|
||||
}
|
||||
}
|
||||
s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue