-
Notifications
You must be signed in to change notification settings - Fork 14k
Closed
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
This file defines a t! macro, but it seems like we can remove that macro and just use the new ? unary operator instead.
rust/src/libstd/sys/unix/process/process_unix.rs
Lines 170 to 175 in 7ac0200
| macro_rules! t { | |
| ($e:expr) => (match $e { | |
| Ok(e) => e, | |
| Err(e) => return e, | |
| }) | |
| } |
There might be other files with a t! macro defined.
estebank and Patryk27
Metadata
Metadata
Assignees
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.