Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/annotations/fn_references.rs')
| -rw-r--r-- | crates/ide/src/annotations/fn_references.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/annotations/fn_references.rs b/crates/ide/src/annotations/fn_references.rs index 0cadf125fe..a090b60413 100644 --- a/crates/ide/src/annotations/fn_references.rs +++ b/crates/ide/src/annotations/fn_references.rs @@ -14,7 +14,7 @@ pub(super) fn find_all_methods( ) -> Vec<(TextRange, Option<TextRange>)> { let sema = Semantics::new(db); let source_file = sema.parse(file_id); - source_file.syntax().descendants().filter_map(|it| method_range(it)).collect() + source_file.syntax().descendants().filter_map(method_range).collect() } fn method_range(item: SyntaxNode) -> Option<(TextRange, Option<TextRange>)> { |