diff options
| author | Austin Hellyer <[email protected]> | 2016-11-21 19:28:26 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-21 19:28:26 -0800 |
| commit | 59f546d8d84d8dad76c1f159f1cd7ef4ccea00fb (patch) | |
| tree | 9e89a122328f14e298c50681e432a3bf3d5d50e9 /src/model/mod.rs | |
| parent | Re-organize the client module (diff) | |
| download | serenity-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.rs | 1 |
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 { |