2 ms·
> Although I must admit I'm not (yet) sure why you need to explicitly state the output and define it for the function. But I have only just started with Rust.
by Ygg2 12y ago
> Although I must admit I'm not (yet) sure why you need to explicitly state the output and define it for the function. But I have only just started with Rust.
I generally assume it's because it can't infer the associated type from function signature, for now.