Skip to content

Commit

Permalink
Update Rust Toolchain to 1.77 and Code Enhancements (#768)
Browse files Browse the repository at this point in the history
* using rust 1.77

* fix compilation

* fix compilation
  • Loading branch information
asiniscalchi committed Sep 9, 2024
1 parent def086a commit a8a8b39
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node/src/chain_spec/laos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ type BalanceOf<Runtime> = <<Runtime as pallet_vesting::Config>::Currency as Curr
* T: Config + pallet_vesting: Config,
* ```
*/
#[allow(clippy::multiple_bound_locations)]
#[benchmarks(
where
T: Config + pallet_vesting::Config,
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "stable"
channel = "1.77"
components = [ "rustfmt", "clippy", "rust-src" ]
targets = [ "wasm32-unknown-unknown" ]
profile = "minimal"

0 comments on commit a8a8b39

Please sign in to comment.