diff options
Diffstat (limited to 'crates/ra_assists/src')
-rw-r--r-- | crates/ra_assists/src/assist_ctx.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/assist_ctx.rs b/crates/ra_assists/src/assist_ctx.rs index dc3ab440b..1b626faaa 100644 --- a/crates/ra_assists/src/assist_ctx.rs +++ b/crates/ra_assists/src/assist_ctx.rs | |||
@@ -85,8 +85,8 @@ impl<'a, DB: HirDatabase> AssistCtx<'a, DB> { | |||
85 | ) -> Option<Assist> { | 85 | ) -> Option<Assist> { |
86 | let label = AssistLabel { label: label.into(), id }; | 86 | let label = AssistLabel { label: label.into(), id }; |
87 | assert_eq!( | 87 | assert_eq!( |
88 | label.label.chars().nth(0).and_then(|c| Some(c.is_uppercase())), | 88 | label.label.chars().nth(0).and_then(|c| Some(c.is_uppercase())).unwrap(), |
89 | Some(true), | 89 | true, |
90 | "First character should be uppercase" | 90 | "First character should be uppercase" |
91 | ); | 91 | ); |
92 | 92 | ||