aboutsummaryrefslogtreecommitdiff
path: root/src/model/mod.rs
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-21 19:28:26 -0800
committerAustin Hellyer <[email protected]>2016-11-21 19:28:26 -0800
commit59f546d8d84d8dad76c1f159f1cd7ef4ccea00fb (patch)
tree9e89a122328f14e298c50681e432a3bf3d5d50e9 /src/model/mod.rs
parentRe-organize the client module (diff)
downloadserenity-59f546d8d84d8dad76c1f159f1cd7ef4ccea00fb.tar.xz
serenity-59f546d8d84d8dad76c1f159f1cd7ef4ccea00fb.zip
Don't unnecessarily borrow some if-lets
Diffstat (limited to 'src/model/mod.rs')
-rw-r--r--src/model/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs
index 20dfabb..26041a9 100644
--- a/src/model/mod.rs
+++ b/src/model/mod.rs
@@ -58,6 +58,7 @@ macro_rules! id {
$(
#[$attr]
#[derive(Copy, Clone, Debug, Eq, Hash, PartialOrd, Ord)]
+ #[allow(derive_hash_xor_eq)]
pub struct $name(pub u64);
impl $name {