Skip to content

Commit 4c08de7

Browse files
authored
chore: bump rust to 1.74.0 (#121)
1 parent bdde78f commit 4c08de7

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
pull_request:
99

1010
env:
11-
RUST_VERSION: 1.71.0
11+
RUST_VERSION: 1.74.0
1212

1313
jobs:
1414
fmt:

engine/src/tracing/alchemy/conversion/sum_trie.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ impl<T: std::ops::Add<Output = T> + Copy + Default> SumTrie<T> {
3535
self.root.value = self.root.value + value;
3636
let mut curr_node = &mut self.root;
3737
for index in key {
38-
curr_node = curr_node
39-
.children
40-
.entry(*index)
41-
.or_insert_with(Default::default);
38+
curr_node = curr_node.children.entry(*index).or_default();
4239
curr_node.value = curr_node.value + value;
4340
}
4441
}

refiner-types/src/bloom.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//! Link: https://github.com/paritytech/parity-common/blob/master/ethbloom/src/lib.rs
33
//!
44
//! Reimplemented here since there is a large miss match in types and dependencies.
5+
#![allow(clippy::non_canonical_clone_impl)]
56
use fixed_hash::construct_fixed_hash;
67
use impl_serde::impl_fixed_hash_serde;
78

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "1.71.0"
2+
channel = "1.74.0"

0 commit comments

Comments
 (0)