Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
acatangiu committed Jun 27, 2024
1 parent ec59cca commit ce7a9c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub(crate) fn set_up_pool_with_roc_on_ah_rococo(asset: v3::Location, is_foreign:
3_000_000_000_000,
));
} else {
let asset_id = match asset.interior.clone().split_last() {
let asset_id = match asset.interior.split_last() {
(_, Some(v3::Junction::GeneralIndex(id))) => id as u32,
_ => unreachable!(),
};
Expand Down

0 comments on commit ce7a9c7

Please sign in to comment.