Replace some _ == _ || _ == _
s with matches!(_, _ | _)
s
This commit is contained in:
parent
4d75f61832
commit
f1d273cbfb
7 changed files with 7 additions and 7 deletions
|
@ -107,7 +107,7 @@ impl<'tcx> Collector<'tcx> {
|
|||
return;
|
||||
};
|
||||
|
||||
if abi == Abi::Rust || abi == Abi::RustIntrinsic || abi == Abi::PlatformIntrinsic {
|
||||
if matches!(abi, Abi::Rust | Abi::RustIntrinsic | Abi::PlatformIntrinsic) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue