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