Skip to content

Commit 764922f

Browse files
authored
update toolchain (#999)
* update toolchain * fix
1 parent 288218c commit 764922f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

authority/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ mod helper {
7676
use std::cell::RefCell;
7777

7878
thread_local! {
79-
static NESTED_MAX_ENCODED_LEN: RefCell<bool> = RefCell::new(false);
79+
static NESTED_MAX_ENCODED_LEN: RefCell<bool> = const {
80+
RefCell::new(false)
81+
};
8082
}
8183

8284
pub fn set_nested_max_encoded_len(val: bool) {

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "1.75.0"
2+
channel = "1.77.0"
33
components = ["rustfmt", "clippy"]
44
targets = ["wasm32-unknown-unknown"]

0 commit comments

Comments
 (0)