Remove unnecessary to_string calls

This commit removes superfluous to_string calls from various places
This commit is contained in:
Piotr Jawniak
2014-06-26 08:15:14 +02:00
parent 99519cc8e6
commit f8e06c4965
26 changed files with 62 additions and 106 deletions
+1 -1
View File
@@ -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)
}