From 21c1504ca972d59307a065f72154e50bd32aa763 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Wed, 15 Jul 2020 09:45:30 -0400 Subject: Move allow list into AssistConfig --- crates/ra_ide/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'crates/ra_ide/src') 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 { &self, config: &AssistConfig, frange: FileRange, - allowed: Option>, ) -> Cancelable> { - self.with_db(|db| ra_assists::Assist::resolved(db, config, frange, allowed)) + self.with_db(|db| ra_assists::Assist::resolved(db, config, frange)) } /// Computes unresolved assists (aka code actions aka intentions) for the given @@ -487,9 +486,8 @@ impl Analysis { &self, config: &AssistConfig, frange: FileRange, - allowed: Option>, ) -> Cancelable> { - self.with_db(|db| Assist::unresolved(db, config, frange, allowed)) + self.with_db(|db| Assist::unresolved(db, config, frange)) } /// Computes the set of diagnostics for the given file. -- cgit v1.2.3