extranous thing is removed
This commit is contained in:
parent
7455f986a8
commit
356ebe8792
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue