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