diff options
Diffstat (limited to 'crates/ra_assists/src/assist_ctx.rs')
-rw-r--r-- | crates/ra_assists/src/assist_ctx.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_assists/src/assist_ctx.rs b/crates/ra_assists/src/assist_ctx.rs index 28152f724..1a65b5dc0 100644 --- a/crates/ra_assists/src/assist_ctx.rs +++ b/crates/ra_assists/src/assist_ctx.rs | |||
@@ -84,6 +84,8 @@ impl<'a, DB: HirDatabase> AssistCtx<'a, DB> { | |||
84 | f: impl FnOnce(&mut AssistBuilder), | 84 | f: impl FnOnce(&mut AssistBuilder), |
85 | ) -> Option<Assist> { | 85 | ) -> Option<Assist> { |
86 | let label = AssistLabel { label: label.into(), id }; | 86 | let label = AssistLabel { label: label.into(), id }; |
87 | assert!(label.label.chars().nth(0).unwrap().is_uppercase()); | ||
88 | |||
87 | let assist = if self.should_compute_edit { | 89 | let assist = if self.should_compute_edit { |
88 | let action = { | 90 | let action = { |
89 | let mut edit = AssistBuilder::default(); | 91 | let mut edit = AssistBuilder::default(); |