Skip to content
Snippets Groups Projects
Commit e508536c authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

remove Default from AssetId trait bound (#9062)

* update AssetId trait

* try again
parent 02930e09
Branches
No related merge requests found
......@@ -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 {}
......
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