Replace some thens with some then_somes

This commit is contained in:
Maybe Waffle 2023-02-15 17:39:43 +00:00
parent 8751fa1a9a
commit 5bf6a46032
24 changed files with 27 additions and 26 deletions

View file

@ -835,7 +835,7 @@ impl<'a> Parser<'a> {
);
}
found.then(|| cur)
found.then_some(cur)
}
fn suggest_format(&mut self) {