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

No macros needed!

    use std::cmp::min;
    min(a, b);
https://doc.rust-lang.org/std/cmp/fn.min.html


Ha. I should have known, thanks.




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

Search: