|
|
|
|
|
by Casperin
1297 days ago
|
|
Yes. It requires that `if else` can be used as expressions, which for some reason in most languages that can not. In the beginning of doing Rust I was missing the ternary operator, but now I couldn't care less. foo = if y { x } else { y }
Works well :-) |
|