Rename to then_some and then
This commit is contained in:
@@ -645,7 +645,7 @@ impl<'a> Parser<'a> {
|
||||
break;
|
||||
}
|
||||
}
|
||||
found.to_option(cur)
|
||||
found.then_some(cur)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user