remove Default from AssetId trait bound (#9062)

* update AssetId trait

* try again
This commit is contained in:
Xiliang Chen
2021-06-13 18:26:42 +12:00
committed by GitHub
parent 02930e098b
commit e508536ca4
@@ -161,8 +161,8 @@ impl WithdrawReasons {
}
/// Simple amalgamation trait to collect together properties for an AssetId under one roof.
pub trait AssetId: FullCodec + Copy + Default + Eq + PartialEq + Debug {}
impl<T: FullCodec + Copy + Default + Eq + PartialEq + Debug> AssetId for T {}
pub trait AssetId: FullCodec + Copy + Eq + PartialEq + Debug {}
impl<T: FullCodec + Copy + Eq + PartialEq + Debug> AssetId for T {}
/// Simple amalgamation trait to collect together properties for a Balance under one roof.
pub trait Balance: AtLeast32BitUnsigned + FullCodec + Copy + Default + Debug {}