diff options
author | Marcus Klaas de Vries <[email protected]> | 2019-01-17 23:41:02 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-19 12:37:26 +0000 |
commit | b5466f3fb36005c313205d944430498f17aea6fa (patch) | |
tree | 6d7ae5caf5a87c295a30343ce6892949f1668b52 /crates/ra_hir/src/code_model_impl | |
parent | 5027c5d4ee38e07ee426df433d0c650d55b1be84 (diff) |
Address issues flagged in review
Diffstat (limited to 'crates/ra_hir/src/code_model_impl')
-rw-r--r-- | crates/ra_hir/src/code_model_impl/function/scope.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ra_hir/src/code_model_impl/function/scope.rs b/crates/ra_hir/src/code_model_impl/function/scope.rs index 220c71f74..3a7d53a93 100644 --- a/crates/ra_hir/src/code_model_impl/function/scope.rs +++ b/crates/ra_hir/src/code_model_impl/function/scope.rs | |||
@@ -97,8 +97,6 @@ impl FnScopes { | |||
97 | }; | 97 | }; |
98 | self.scopes[scope].entries.push(entry) | 98 | self.scopes[scope].entries.push(entry) |
99 | } | 99 | } |
100 | // FIXME: isn't every call to add_binding starting an entirely new | ||
101 | // tree walk!? | ||
102 | p => p.walk_child_pats(|pat| self.add_bindings(body, scope, pat)), | 100 | p => p.walk_child_pats(|pat| self.add_bindings(body, scope, pat)), |
103 | } | 101 | } |
104 | } | 102 | } |