about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSangeun Kim <sammy.kim@samsung.com>2013-05-08 10:42:47 +0900
committerSangeun Kim <sammy.kim@samsung.com>2013-05-08 10:42:47 +0900
commit356ebe879276c5627d6010fce9dc8b054165e17b (patch)
tree01b62be0b1c5f4e3fa543ac2f2acdfb50119011c
parent7455f986a8cbf2ee628cf0fb4c164012e9a06031 (diff)
downloadrust-356ebe879276c5627d6010fce9dc8b054165e17b.tar.gz
rust-356ebe879276c5627d6010fce9dc8b054165e17b.zip
extranous thing is removed
-rw-r--r--src/librustc/middle/lint.rs2
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;