Skip to content

Commit

Permalink
chore: remove un-needed AsRef impl
Browse files Browse the repository at this point in the history
  • Loading branch information
AlastairHolmes committed Feb 6, 2024
1 parent 3f6a6c6 commit 991ae21
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions state-chain/primitives/src/chains/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,6 @@ macro_rules! chain_assets {
}
}

impl AsRef<any::Asset> for Asset {
fn as_ref(&self) -> &any::Asset {
match self {
$(
Asset::$asset => &any::Asset::$asset,
)+
}
}
}

impl TryFrom<any::Asset> for Asset {
type Error = AssetError;

Expand Down

0 comments on commit 991ae21

Please sign in to comment.