We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e5366d commit 1927f31Copy full SHA for 1927f31
posts/2023-10-05-Rust-1.73.0.md
@@ -62,7 +62,7 @@ The new methods make common code more concise and avoid running the extra initia
62
63
```rust
64
thread_local! {
65
- static THINGS: RefCell<Vec<i32>> = RefCell::new(Vec::new());
+ static THINGS: Cell<Vec<i32>> = Cell::new(Vec::new());
66
}
67
68
fn f() {
0 commit comments