News for hackers. Stuff that matters.
Re:Rust: Not So Great For Codec Implementing by masklinn on Tuesday August 01, 2017 @11:53AM (#14902050)
> Can't you just do

That's a declaration not an assignment, TFA is (somewhat oddly) using the language precisely and fittingly: https://doc.rust-lang.org/reference/expressions.html#assignm...

And there are cases where shadowing is not acceptable e.g. when updating bindings within a loop, you usually want to see the updates from outside the loop.

There are no comments on this comment yet.