Does Rust check second condition if first is false (connected with AND)?
Hi,
I wonder if I have something like:
let calc = calculation(x);
if (calc == calculation(2\x)) & (calc == calculation(3 \ x)) {...}
Will second term even get evaluated if the first one fails? (if calc is not equal to calculation(2\*x), it isn't necessary to evaluate second term because this if expression cannot be true anymore; so does Rust evaluate it or not?)