summaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-08-30 22:09:33 +0200
committerLaurenz <laurmaedje@gmail.com>2020-08-30 22:09:33 +0200
commit18c515cde5dc8beef2f94d4e30db8694309b5d54 (patch)
tree6ab80abe8d0fd8223f67ab564db461814d1de515 /src/macros.rs
parent3337d2454310a498f43fd62f879d26d1af379239 (diff)
Make some code easier for rustfmt 🍦
Diffstat (limited to 'src/macros.rs')
-rw-r--r--src/macros.rs1
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 {