diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-06 16:25:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-06 16:25:58 +0900 |
| commit | d50349ba8d2baaa023eadacf7207516c83225f1f (patch) | |
| tree | dc0acb8f8054225234bcf6622251da83db4ccf28 /library/std/src/sys/unix/process/process_unix.rs | |
| parent | 97ee62cee43373e7d1c6e6e778b1f9b738523ead (diff) | |
| parent | a6ff925f8b5598a1f6d84964525baa1d4a08fd63 (diff) | |
| download | rust-d50349ba8d2baaa023eadacf7207516c83225f1f.tar.gz rust-d50349ba8d2baaa023eadacf7207516c83225f1f.zip | |
Rollup merge of #76995 - LingMan:middle_matches, r=varkor
Reduce boilerplate with the matches! macro
Replaces simple bool `match`es of the form
match $expr {
$pattern => true
_ => false
}
and their inverse with invocations of the matches! macro.
Limited to rustc_middle for now to get my feet wet.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
