News for hackers. Stuff that matters.
Re:Announcing Rust 1.22 by viraptor on Thursday November 23, 2017 @09:11PM (#15769031)
https://rustbyexample.com/flow_control/if_else.html

> if-else conditionals are expressions, and, all branches must return the same type.

Re:Announcing Rust 1.22 by Manishearth on Thursday November 23, 2017 @10:49PM (#15769290)
Yeah; I misread the original code