Skip to content

Commit 459ce22

Browse files
committed
bump rust 1.84.1 (#1022)
* bump rust 1.84.1 * fix clippy
1 parent fbfced8 commit 459ce22

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Diff for: rust-toolchain.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "1.81.0"
2+
channel = "1.84.1"
33
components = ["rustfmt", "clippy"]
44
targets = ["wasm32-unknown-unknown"]

Diff for: 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,

Diff for: 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)