diff --git a/node/src/chain_spec/laos.rs b/node/src/chain_spec/laos.rs index dc25f7f9..8eec802b 100644 --- a/node/src/chain_spec/laos.rs +++ b/node/src/chain_spec/laos.rs @@ -147,5 +147,5 @@ fn create_test_genesis_config() -> serde_json::Value { }, ..Default::default() }; - serde_json::to_value(&config).expect("Could not build genesis config.") + serde_json::to_value(config).expect("Could not build genesis config.") } diff --git a/pallets/precompiles-benchmark/src/precompiles/vesting/benchmarking.rs b/pallets/precompiles-benchmark/src/precompiles/vesting/benchmarking.rs index fde9bfce..fb8cacf7 100644 --- a/pallets/precompiles-benchmark/src/precompiles/vesting/benchmarking.rs +++ b/pallets/precompiles-benchmark/src/precompiles/vesting/benchmarking.rs @@ -132,7 +132,6 @@ type BalanceOf = <::Currency as Curr * T: Config + pallet_vesting: Config, * ``` */ -#[allow(clippy::multiple_bound_locations)] #[benchmarks( where T: Config + pallet_vesting::Config, diff --git a/rust-toolchain b/rust-toolchain index 49c0b9d9..24ee9037 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,5 +1,5 @@ [toolchain] -channel = "stable" +channel = "1.77" components = [ "rustfmt", "clippy", "rust-src" ] targets = [ "wasm32-unknown-unknown" ] profile = "minimal" \ No newline at end of file