Hacker News new | past | comments | ask | show | jobs | submit login

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




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: