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

In Rust the {} are mandatory, but you don't need the (), so you can just write this:

    if a == b {
        stuff();
    }


Thank $whatever for that. Go rust. Sanity prevailing.




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

Search: