Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: