about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-06 16:25:58 +0900
committerGitHub <noreply@github.com>2020-10-06 16:25:58 +0900
commitd50349ba8d2baaa023eadacf7207516c83225f1f (patch)
treedc0acb8f8054225234bcf6622251da83db4ccf28 /library/std/src/sys/unix/process/process_unix.rs
parent97ee62cee43373e7d1c6e6e778b1f9b738523ead (diff)
parenta6ff925f8b5598a1f6d84964525baa1d4a08fd63 (diff)
downloadrust-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