3 ms·
This is a bit simpler as: let var = { let mut var = ... var }; that is, you can assign the result of the block directly. That way you don't
by steveklabnik 6y ago
This is a bit simpler as:
let var = {
let mut var = ...
var
};
that is, you can assign the result of the block directly. That way you don't need two variables with the _ name as the second.