diff options
| author | Sangeun Kim <sammy.kim@samsung.com> | 2013-05-08 10:42:47 +0900 |
|---|---|---|
| committer | Sangeun Kim <sammy.kim@samsung.com> | 2013-05-08 10:42:47 +0900 |
| commit | 356ebe879276c5627d6010fce9dc8b054165e17b (patch) | |
| tree | 01b62be0b1c5f4e3fa543ac2f2acdfb50119011c | |
| parent | 7455f986a8cbf2ee628cf0fb4c164012e9a06031 (diff) | |
| download | rust-356ebe879276c5627d6010fce9dc8b054165e17b.tar.gz rust-356ebe879276c5627d6010fce9dc8b054165e17b.zip | |
extranous thing is removed
| -rw-r--r-- | src/librustc/middle/lint.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/lint.rs b/src/librustc/middle/lint.rs index aad64d2ffe3..59b7a5ff111 100644 --- a/src/librustc/middle/lint.rs +++ b/src/librustc/middle/lint.rs @@ -239,7 +239,7 @@ static lint_table: &'static [(&'static str, 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; |
