Verified Commit 73d87fd5 authored by Grokafar's avatar Grokafar
Browse files

Add `Hash` to `impl_id` macro

parent 1f0eba02
# v0.1302.2 (unreleased)
## Additions
- `Id` types now implement `Hash`
# v0.1302.1
## Additions
......
......@@ -6,7 +6,7 @@
macro_rules! impl_id {
( $name:ident, $doc:expr$(,)? ) => {
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[doc = $doc]
pub struct $name(u64);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment