about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorLingMan <LingMan@users.noreply.github.com>2020-09-21 04:53:44 +0200
committerLingMan <LingMan@users.noreply.github.com>2020-09-21 05:28:40 +0200
commita6ff925f8b5598a1f6d84964525baa1d4a08fd63 (patch)
tree310c0e7b27623c9b528921366b47517687f2d6f7 /library/std/src/sys/unix/process/process_unix.rs
parent0f9f0b384a0a3c997c1ea8f838f5591f12f96633 (diff)
downloadrust-a6ff925f8b5598a1f6d84964525baa1d4a08fd63.tar.gz
rust-a6ff925f8b5598a1f6d84964525baa1d4a08fd63.zip
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.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions