about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-01-09 00:22:10 +0100
committerGitHub <noreply@github.com>2020-01-09 00:22:10 +0100
commit5ea69781f46a556b3d6f7e8e52d5641d61d12131 (patch)
treea5024d981e459032f7ca7c9c59485fd783ef0405 /src/test/debuginfo/enum-thinlto.rs
parent11f0013378f8a7ec7a2ca3e09afd78e1397273e7 (diff)
parentf720469fd0c4dff6d92e2f778ea2f252f76dcc2e (diff)
downloadrust-5ea69781f46a556b3d6f7e8e52d5641d61d12131.tar.gz
rust-5ea69781f46a556b3d6f7e8e52d5641d61d12131.zip
Rollup merge of #67966 - popzxc:core-std-matches, r=Centril
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
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions