mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
5ea69781f4
Use matches macro in libcore and libstd
This PR replaces matches like
```rust
match var {
value => true,
_ => false,
}
```
with use of `matches!` macro.
r? @Centril