Replace some then
s with some then_some
s
This commit is contained in:
parent
8751fa1a9a
commit
5bf6a46032
24 changed files with 27 additions and 26 deletions
|
@ -835,7 +835,7 @@ impl<'a> Parser<'a> {
|
|||
);
|
||||
}
|
||||
|
||||
found.then(|| cur)
|
||||
found.then_some(cur)
|
||||
}
|
||||
|
||||
fn suggest_format(&mut self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue