Use #[derive]
instead of custom syntax in all newtype_index
This commit is contained in:
parent
37efc81072
commit
b4d739ef12
7 changed files with 14 additions and 26 deletions
|
@ -20,8 +20,8 @@ impl ToJson for Endian {
|
|||
}
|
||||
|
||||
rustc_index::newtype_index! {
|
||||
#[derive(HashStable_Generic)]
|
||||
pub struct VariantIdx {
|
||||
derive [HashStable_Generic]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue