Rust Needs the Ternary Conditional Operator (-?-:-)
1–2 of 2 posts
Re: Rust Needs the Ternary Conditional Operator (-?-:-)
#2WAIT 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...