From bcbee10b89ff42d920f1e1f2e803b774e2a9a5cb Mon Sep 17 00:00:00 2001 From: kjeremy Date: Wed, 6 Feb 2019 11:15:18 -0500 Subject: assists: compute edit --- crates/ra_assists/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ra_assists/src/lib.rs b/crates/ra_assists/src/lib.rs index 4e97a84c2..062dd8804 100644 --- a/crates/ra_assists/src/lib.rs +++ b/crates/ra_assists/src/lib.rs @@ -53,7 +53,7 @@ pub fn assists(db: &H, range: FileRange) -> Vec<(AssistLabel, AssistAction)> where H: HirDatabase + 'static, { - AssistCtx::with_ctx(db, range, false, |ctx| { + AssistCtx::with_ctx(db, range, true, |ctx| { all_assists() .iter() .filter_map(|f| f(ctx.clone())) -- cgit v1.2.3