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

If a Rust closure doesn’t actually close over any variables, it can be coerced to a function pointer. Otherwise, you’re stuck with the workarounds others have mentioned.



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

Search: