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

It's a closure, not just an anonymous function, though it of course has an empty environment so it's not a significant difference in this case. Rust doesn't have syntax for anonymous functions, only closures.





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

Search: