Remove unnecessary sigils around Symbol::as_str()
calls.
This commit is contained in:
parent
8cddcd39ba
commit
056d48a2c9
104 changed files with 189 additions and 192 deletions
|
@ -825,7 +825,7 @@ impl<'tcx> SaveContext<'tcx> {
|
|||
for attr in attrs {
|
||||
if let Some(val) = attr.doc_str() {
|
||||
// FIXME: Should save-analysis beautify doc strings itself or leave it to users?
|
||||
result.push_str(&beautify_doc_string(val).as_str());
|
||||
result.push_str(beautify_doc_string(val).as_str());
|
||||
result.push('\n');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue