diff options
author | kjeremy <[email protected]> | 2019-02-06 16:15:18 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-02-06 16:15:18 +0000 |
commit | bcbee10b89ff42d920f1e1f2e803b774e2a9a5cb (patch) | |
tree | a4050c55430a9d56afa94492b8e4310dda1c9260 | |
parent | 85ecc463d52ed622bb99a37403fca3fc6275043e (diff) |
assists: compute edit
-rw-r--r-- | crates/ra_assists/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<H>(db: &H, range: FileRange) -> Vec<(AssistLabel, AssistAction)> | |||
53 | where | 53 | where |
54 | H: HirDatabase + 'static, | 54 | H: HirDatabase + 'static, |
55 | { | 55 | { |
56 | AssistCtx::with_ctx(db, range, false, |ctx| { | 56 | AssistCtx::with_ctx(db, range, true, |ctx| { |
57 | all_assists() | 57 | all_assists() |
58 | .iter() | 58 | .iter() |
59 | .filter_map(|f| f(ctx.clone())) | 59 | .filter_map(|f| f(ctx.clone())) |