3 ms·
With Rust there is the drop() function in the standard library (which is just a no-op function that takes an owned value as an argument) which allows you to sho
by openasocket 10y ago
With Rust there is the drop() function in the standard library (which is just a no-op function that takes an owned value as an argument) which allows you to shorten the lifetime of the value without having to do ugly things with blocks.