Practice
Learn
← Quit
0 / 0 correct
Rust
Medium
1 of 10
Which interior mutability type fits a non-thread-safe counter in a struct accessed via &self?
A
Box<u32>
B
Mutex<u32>
C
Cell<u32>
D
RefCell<Vec<u32>> only