mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
extranous thing is removed
This commit is contained in:
@@ -239,7 +239,7 @@ struct LintSpec {
|
||||
*/
|
||||
pub fn get_lint_dict() -> LintDict {
|
||||
let mut map = HashMap::new();
|
||||
for lint_table.each() |&(k, v)| {
|
||||
for lint_table.each|&(k, v)| {
|
||||
map.insert(k.to_str(), v);
|
||||
}
|
||||
return @map;
|
||||
|
||||
Reference in New Issue
Block a user