aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_assists/src/assist_context.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_assists/src/assist_context.rs b/crates/ra_assists/src/assist_context.rs
index bc5481494..1925db8b2 100644
--- a/crates/ra_assists/src/assist_context.rs
+++ b/crates/ra_assists/src/assist_context.rs
@@ -179,6 +179,7 @@ impl Assists {
179 f: impl FnOnce(&mut AssistDirector), 179 f: impl FnOnce(&mut AssistDirector),
180 ) -> Option<()> { 180 ) -> Option<()> {
181 if !self.resolve { 181 if !self.resolve {
182 self.buf.push((label, None));
182 return None; 183 return None;
183 } 184 }
184 let mut director = AssistDirector::default(); 185 let mut director = AssistDirector::default();