From b5466f3fb36005c313205d944430498f17aea6fa Mon Sep 17 00:00:00 2001 From: Marcus Klaas de Vries Date: Fri, 18 Jan 2019 00:41:02 +0100 Subject: Address issues flagged in review --- crates/ra_hir/src/code_model_impl/function/scope.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'crates/ra_hir/src/code_model_impl/function/scope.rs') 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 { }; self.scopes[scope].entries.push(entry) } - // FIXME: isn't every call to add_binding starting an entirely new - // tree walk!? p => p.walk_child_pats(|pat| self.add_bindings(body, scope, pat)), } } -- cgit v1.2.3