Re:A half-hour to learn Rust
by da-x on Sunday March 01, 2020 @03:28AM
(#22455805)
There's a difference between
and:
The first one drops ownership over the variable right after `let`, and the second drops in the end of the scope where the `let` is contained. It was mentioned in an open Rust github issue, but I can't seem to find it.
[ Parent
| on HN ]
There are no comments on this comment yet.