News for hackers. Stuff that matters.
Re:A half-hour to learn Rust by da-x on Sunday March 01, 2020 @03:28AM (#22455805)
There's a difference between

    let _ = <expr>;
and:

    let _x = <expr>;
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.

There are no comments on this comment yet.