aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/lib.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs
index c21f2a0b1..6a4f5cb3d 100644
--- a/crates/ra_ide/src/lib.rs
+++ b/crates/ra_ide/src/lib.rs
@@ -476,9 +476,8 @@ impl Analysis {
476 &self, 476 &self,
477 config: &AssistConfig, 477 config: &AssistConfig,
478 frange: FileRange, 478 frange: FileRange,
479 allowed: Option<Vec<AssistKind>>,
480 ) -> Cancelable<Vec<ResolvedAssist>> { 479 ) -> Cancelable<Vec<ResolvedAssist>> {
481 self.with_db(|db| ra_assists::Assist::resolved(db, config, frange, allowed)) 480 self.with_db(|db| ra_assists::Assist::resolved(db, config, frange))
482 } 481 }
483 482
484 /// Computes unresolved assists (aka code actions aka intentions) for the given 483 /// Computes unresolved assists (aka code actions aka intentions) for the given
@@ -487,9 +486,8 @@ impl Analysis {
487 &self, 486 &self,
488 config: &AssistConfig, 487 config: &AssistConfig,
489 frange: FileRange, 488 frange: FileRange,
490 allowed: Option<Vec<AssistKind>>,
491 ) -> Cancelable<Vec<Assist>> { 489 ) -> Cancelable<Vec<Assist>> {
492 self.with_db(|db| Assist::unresolved(db, config, frange, allowed)) 490 self.with_db(|db| Assist::unresolved(db, config, frange))
493 } 491 }
494 492
495 /// Computes the set of diagnostics for the given file. 493 /// Computes the set of diagnostics for the given file.