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

In this closure you are moving `answer`, that is, you are moving the reference itself into scope. The `challenge` reference is already owned by the closure since it's a parameter. The move doesn't mean the closure owns the underlying strings, but the references themselves.


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

Search: