mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
Remove unnecessary to_string calls
This commit removes superfluous to_string calls from various places
This commit is contained in:
@@ -1015,7 +1015,7 @@ fn set_expn_info(&self,
|
||||
to_set.expn_info = Some(box(GC) codemap::ExpnInfo {
|
||||
call_site: to_set,
|
||||
callee: codemap::NameAndSpan {
|
||||
name: format!("deriving({})", trait_name).to_string(),
|
||||
name: format!("deriving({})", trait_name),
|
||||
format: codemap::MacroAttribute,
|
||||
span: Some(self.span)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user