This commit is contained in:
Jeremy Kolb 2020-01-14 13:15:41 -05:00
parent 9042bb7892
commit 864434137a

View File

@ -85,8 +85,8 @@ pub(crate) fn add_assist(
) -> Option<Assist> {
let label = AssistLabel { label: label.into(), id };
assert_eq!(
label.label.chars().nth(0).and_then(|c| Some(c.is_uppercase())),
Some(true),
label.label.chars().nth(0).and_then(|c| Some(c.is_uppercase())).unwrap(),
true,
"First character should be uppercase"
);