Skip to content

Commit 356ebe8

Browse files
committed
extranous thing is removed
1 parent 7455f98 commit 356ebe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/lint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ static lint_table: &'static [(&'static str, LintSpec)] = &[
239239
*/
240240
pub fn get_lint_dict() -> LintDict {
241241
let mut map = HashMap::new();
242-
for lint_table.each() |&(k, v)| {
242+
for lint_table.each|&(k, v)| {
243243
map.insert(k.to_str(), v);
244244
}
245245
return @map;

0 commit comments

Comments
 (0)