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