mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Clean up comments / use nicer Iterator methods
This commit is contained in:
parent
0f7e4a7d24
commit
99711c1863
2 changed files with 15 additions and 10 deletions
|
@ -187,7 +187,7 @@ impl Resolver {
|
|||
}
|
||||
.into_iter()
|
||||
})
|
||||
.flat_map(|i| i)
|
||||
.flatten()
|
||||
}
|
||||
|
||||
fn module(&self) -> Option<(&CrateDefMap, CrateModuleId)> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue