Remove all unnecessary allocations (as flagged by lint)
This commit is contained in:
parent
074799b4c5
commit
82fa0018c8
99 changed files with 1022 additions and 1027 deletions
|
@ -51,7 +51,7 @@ impl parser_attr for Parser {
|
|||
self.span.hi
|
||||
);
|
||||
if attr.node.style != ast::attr_outer {
|
||||
self.fatal(~"expected outer comment");
|
||||
self.fatal("expected outer comment");
|
||||
}
|
||||
attrs += ~[attr];
|
||||
self.bump();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue