3 ms·
Rust Needs the Ternary Conditional Operator (-?-:-)
- ExcavateGrandMa 6y agoWAIT following git comms I saw that => """ Rust already has this: return if value == 5 { success } else { failure }. """ looks like an explicit failure if and else are required :Ð I never wrote any rust or even studied the stuff... for your info...