diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-08-30 22:09:33 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-08-30 22:09:33 +0200 |
| commit | 18c515cde5dc8beef2f94d4e30db8694309b5d54 (patch) | |
| tree | 6ab80abe8d0fd8223f67ab564db461814d1de515 /src/macros.rs | |
| parent | 3337d2454310a498f43fd62f879d26d1af379239 (diff) | |
Make some code easier for rustfmt 🍦
Diffstat (limited to 'src/macros.rs')
| -rw-r--r-- | src/macros.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macros.rs b/src/macros.rs index 3cccfc67..710af1e6 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -1,4 +1,5 @@ /// Unwrap the option if it is `Some(T)` or evaluate `$or` if it is `None`. +#[allow(unused)] macro_rules! try_or { ($option:expr, $or:expr $(,)?) => { match $option { |
