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

Well I mean if you want to cheat with iterator adaptors you can just use min_by: http://doc.rust-lang.org/std/iter/trait.IteratorExt.html#tym...

:P

(shhh I was tired and trying to come up with a simple but moderate complexity example)



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: