diff --git a/rust-toolchain.toml b/rust-toolchain.toml index bd4541d29..7caff90a1 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.81.0" +channel = "1.84.1" components = ["rustfmt", "clippy"] targets = ["wasm32-unknown-unknown"] diff --git a/traits/src/asset_registry.rs b/traits/src/asset_registry.rs index 0ccdbc899..7e871e4a7 100644 --- a/traits/src/asset_registry.rs +++ b/traits/src/asset_registry.rs @@ -23,7 +23,6 @@ pub trait AssetProcessor { #[derive(TypeInfo, Encode, Decode, CloneNoBound, EqNoBound, PartialEqNoBound, RuntimeDebugNoBound, MaxEncodedLen)] #[codec(mel_bound(skip_type_params(StringLimit)))] #[scale_info(skip_type_params(StringLimit))] - pub struct AssetMetadata> where Balance: Clone + Debug + Eq + PartialEq, diff --git a/traits/src/location.rs b/traits/src/location.rs index cc1124b50..63496d25d 100644 --- a/traits/src/location.rs +++ b/traits/src/location.rs @@ -76,7 +76,7 @@ pub trait RelativeLocations { impl RelativeLocations for Location { fn sibling_parachain_general_key(para_id: u32, general_key: BoundedVec>) -> Location { - return Location::new(1, [Parachain(para_id), general_key.as_bounded_slice().into()]); + Location::new(1, [Parachain(para_id), general_key.as_bounded_slice().into()]) } }