diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2020-09-21 04:53:44 +0200 |
|---|---|---|
| committer | LingMan <LingMan@users.noreply.github.com> | 2020-09-21 05:28:40 +0200 |
| commit | a6ff925f8b5598a1f6d84964525baa1d4a08fd63 (patch) | |
| tree | 310c0e7b27623c9b528921366b47517687f2d6f7 /library/std/src/sys/unix/process/process_unix.rs | |
| parent | 0f9f0b384a0a3c997c1ea8f838f5591f12f96633 (diff) | |
| download | rust-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
