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

I wonder if the API could be expanded to accept any type that implements `Borrow<T>`, like `HashMap::get`. Then both `5` and `&5` could work.


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

Search: