Commit cf71a86e authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'add_hash_to_impl_id'

73d87fd5

 Add `Hash` to `impl_id` macro
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !266
parents 1f0eba02 73d87fd5
# 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