diff options
Diffstat (limited to 'crates/ra_analysis')
-rw-r--r-- | crates/ra_analysis/src/descriptors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/descriptors.rs b/crates/ra_analysis/src/descriptors.rs index f64fcee16..98429326c 100644 --- a/crates/ra_analysis/src/descriptors.rs +++ b/crates/ra_analysis/src/descriptors.rs | |||
@@ -21,7 +21,7 @@ impl ModuleDescriptor { | |||
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | fn modules<'a>(root: ast::Root<'a>) -> impl Iterator<Item = (SmolStr, ast::Module<'a>)> { | 24 | fn modules(root: ast::Root<'_>) -> impl Iterator<Item = (SmolStr, ast::Module<'_>)> { |
25 | root.modules().filter_map(|module| { | 25 | root.modules().filter_map(|module| { |
26 | let name = module.name()?.text(); | 26 | let name = module.name()?.text(); |
27 | if !module.has_semi() { | 27 | if !module.has_semi() { |