Post

I agree. Rust has the right answer in this case. It should not be available in the else block. If there were a value worth having a variable either way, then it could be set before the conditional.