aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-06 16:18:47 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-06 16:18:47 +0000
commitc1e10a24fa3ba2b03a738afd8e1f7f472a12e29f (patch)
treea4050c55430a9d56afa94492b8e4310dda1c9260 /crates/ra_assists
parent85ecc463d52ed622bb99a37403fca3fc6275043e (diff)
parentbcbee10b89ff42d920f1e1f2e803b774e2a9a5cb (diff)
Merge #753
753: assists: compute edit r=matklad a=kjeremy Fixes #751 Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates/ra_assists')
-rw-r--r--crates/ra_assists/src/lib.rs2
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)>
53where 53where
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()))