aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion
diff options
context:
space:
mode:
authorLaurenČ›iu Nicola <[email protected]>2020-07-01 07:34:45 +0100
committerLaurenČ›iu Nicola <[email protected]>2020-07-01 07:34:45 +0100
commit5953cbd7aefa90da67829fe8e92d066b460ee447 (patch)
treebaadd060ee470b9bcdb0738c4739f07797939b1c /crates/ra_ide/src/completion
parentb1a2d016450c96581c9cc70cc464f8aab2e5c0f3 (diff)
Make SemanticsScope non-generic
Diffstat (limited to 'crates/ra_ide/src/completion')
-rw-r--r--crates/ra_ide/src/completion/completion_context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/completion/completion_context.rs b/crates/ra_ide/src/completion/completion_context.rs
index 560fb19e6..ef22ea54d 100644
--- a/crates/ra_ide/src/completion/completion_context.rs
+++ b/crates/ra_ide/src/completion/completion_context.rs
@@ -213,7 +213,7 @@ impl<'a> CompletionContext<'a> {
213 } 213 }
214 } 214 }
215 215
216 pub(crate) fn scope(&self) -> SemanticsScope<'_, RootDatabase> { 216 pub(crate) fn scope(&self) -> SemanticsScope<'_> {
217 self.sema.scope_at_offset(&self.token.parent(), self.offset) 217 self.sema.scope_at_offset(&self.token.parent(), self.offset)
218 } 218 }
219 219