Clean up comments / use nicer Iterator methods

This commit is contained in:
Florian Diebold 2019-03-25 21:24:20 +01:00
parent 0f7e4a7d24
commit 99711c1863
2 changed files with 15 additions and 10 deletions

View file

@ -187,7 +187,7 @@ impl Resolver {
}
.into_iter()
})
.flat_map(|i| i)
.flatten()
}
fn module(&self) -> Option<(&CrateDefMap, CrateModuleId)> {