1
Fork 0

Use #[derive] instead of custom syntax in all newtype_index

This commit is contained in:
Nilstrieb 2022-12-18 20:53:08 +01:00
parent 37efc81072
commit b4d739ef12
7 changed files with 14 additions and 26 deletions

View file

@ -20,8 +20,8 @@ impl ToJson for Endian {
}
rustc_index::newtype_index! {
#[derive(HashStable_Generic)]
pub struct VariantIdx {
derive [HashStable_Generic]
}
}