Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 40
What does the higher-ranked bound `F: for<'a> Fn(&'a str) -> &'a str` express?
A
F must work for every lifetime 'a chosen by the caller of F, returning a reference tied to its input
B
F works for one specific lifetime chosen by the caller of the outer function
C
F takes ownership of the string
D
F returns a 'static str