extranous thing is removed

This commit is contained in:
Sangeun Kim 2013-05-08 10:42:47 +09:00
parent 7455f986a8
commit 356ebe8792

View file

@ -239,7 +239,7 @@ static lint_table: &'static [(&'static str, LintSpec)] = &[
*/ */
pub fn get_lint_dict() -> LintDict { pub fn get_lint_dict() -> LintDict {
let mut map = HashMap::new(); let mut map = HashMap::new();
for lint_table.each() |&(k, v)| { for lint_table.each|&(k, v)| {
map.insert(k.to_str(), v); map.insert(k.to_str(), v);
} }
return @map; return @map;