Skip to content

Commit b25665d

Browse files
committed
fix clippy
1 parent e35f991 commit b25665d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

traits/src/asset_registry.rs

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pub trait AssetProcessor<AssetId, Metadata> {
2323
#[derive(TypeInfo, Encode, Decode, CloneNoBound, EqNoBound, PartialEqNoBound, RuntimeDebugNoBound, MaxEncodedLen)]
2424
#[codec(mel_bound(skip_type_params(StringLimit)))]
2525
#[scale_info(skip_type_params(StringLimit))]
26-
2726
pub struct AssetMetadata<Balance, CustomMetadata, StringLimit: Get<u32>>
2827
where
2928
Balance: Clone + Debug + Eq + PartialEq,

traits/src/location.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pub trait RelativeLocations {
7676

7777
impl RelativeLocations for Location {
7878
fn sibling_parachain_general_key(para_id: u32, general_key: BoundedVec<u8, ConstU32<32>>) -> Location {
79-
return Location::new(1, [Parachain(para_id), general_key.as_bounded_slice().into()]);
79+
Location::new(1, [Parachain(para_id), general_key.as_bounded_slice().into()])
8080
}
8181
}
8282

0 commit comments

Comments
 (0)