3 ms·
https://rustbyexample.com/flow_control/if_else.html https://rustbyexample.com/flow_control/if_else.html > if-else conditionals are expressions, and, all branch
by viraptor 9y ago
https://rustbyexample.com/flow_control/if_else.html https://rustbyexample.com/flow_control/if_else.html
> if-else conditionals are expressions, and, all branches must return the same type.
- Manishearth 9y agoYeah; I misread the original code