slighty simplify a few boolean expressions (clippy::nonminimal_bool)
This commit is contained in:
parent
5a07e33d2c
commit
73bd953dea
4 changed files with 4 additions and 5 deletions
|
@ -389,7 +389,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
assert!(force || !finalize.is_some()); // `finalize` implies `force`
|
||||
assert!(force || finalize.is_none()); // `finalize` implies `force`
|
||||
|
||||
// Make sure `self`, `super` etc produce an error when passed to here.
|
||||
if orig_ident.is_path_segment_keyword() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue