more clippy things

This commit is contained in:
Folkert 2020-11-19 22:20:00 +01:00
parent e30893b66e
commit 4db48d9f13
5 changed files with 5 additions and 5 deletions

View file

@ -342,7 +342,7 @@ fn parse_concrete_type<'a>(
//
// If we made it this far and don't have a next_char, then necessarily
// we have consumed a '.' char previously.
return malformed(next_char.or_else(|| Some('.')), arena, state, parts);
return malformed(next_char.or(Some('.')), arena, state, parts);
}
if part_buf.is_empty() {