Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 20
When are temporaries dropped in this statement?
let n = m.lock().unwrap().len();
A
At the end of the statement, so the MutexGuard is released before the next line
B
At the end of the enclosing block
C
Before .len() runs
D
Never