aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-12-21 22:59:32 +0000
committerAleksey Kladov <[email protected]>2018-12-21 22:59:32 +0000
commitf1f2804c71ee997e36904dea72911104b2e2375b (patch)
treee908c071563d91cfdbad64c6dc59f955804d8b1c /crates/ra_hir
parent328d123f5baeab8ff9a1f63a6744f6eec89818ab (diff)
move completion items to conv
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/function/scope.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/function/scope.rs b/crates/ra_hir/src/function/scope.rs
index 9f1aa1ef2..d12f1781e 100644
--- a/crates/ra_hir/src/function/scope.rs
+++ b/crates/ra_hir/src/function/scope.rs
@@ -95,7 +95,7 @@ impl FnScopes {
95 r1.start().cmp(&r2.start()) 95 r1.start().cmp(&r2.start())
96 } 96 }
97 }) 97 })
98 .map(|(ptr, scope)| *scope) 98 .map(|(_ptr, scope)| *scope)
99 .unwrap_or(original_scope) 99 .unwrap_or(original_scope)
100 } 100 }
101 101