Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 10
Generic code: why might passing `r` to `fn take<T>(t: T)` move it, unlike `fn bump(x: &mut i32)`?
A
With a generic parameter, no implicit reborrow occurs, so the &mut is moved into the call
B
Generics always clone
C
Generics can't take references
D
It isn't moved