librustc: Add a lint mode for unnecessary copy and remove a bunch of them.

This commit is contained in:
Patrick Walton
2013-06-27 17:41:35 -07:00
parent 8c082658be
commit b4e674f6e6
59 changed files with 256 additions and 235 deletions

View File

@@ -269,7 +269,7 @@ pub fn sort_meta_items(items: &[@ast::meta_item]) -> ~[@ast::meta_item] {
.. /*bad*/ copy **m
}
}
_ => /*bad*/ copy *m
_ => *m
}
}
}