aboutsummaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-10-17 15:53:41 -0700
committerZeyla Hellyer <[email protected]>2017-10-17 15:53:41 -0700
commit9115dadb78404d332630ff47472a5c7218e72022 (patch)
tree1b11ea1b6db3b2aeab09d9b61d4373fe83f389bc /src/internal
parentChange `features` fields to be a Vec<String> (diff)
downloadserenity-9115dadb78404d332630ff47472a5c7218e72022.tar.xz
serenity-9115dadb78404d332630ff47472a5c7218e72022.zip
Fix some compilation feature targets, fix lints
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/macros.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal/macros.rs b/src/internal/macros.rs
index 92a21c1..3bcc5c5 100644
--- a/src/internal/macros.rs
+++ b/src/internal/macros.rs
@@ -182,6 +182,7 @@ macro_rules! enum_number {
}
}
+#[allow(unused_macros)]
macro_rules! try_opt {
($x:expr) => (match $x {
Some(v) => v,