Intermediate
Rust
Q74 / 100
What is the turbofish operator ::<> in Rust?
Correct! Well done.
Incorrect.
The correct answer is B) Syntax for specifying generic type parameters explicitly at the call site when inference fails: "hello".parse::<i32>()
B
Correct Answer
Syntax for specifying generic type parameters explicitly at the call site when inference fails: "hello".parse::<i32>()
Explanation
"42".parse::<i32>().unwrap() or Vec::<i32>::new() uses turbofish when the compiler can't infer the type from context.
Progress
74/100