3 ms·
IIRC the Rust book talks about files automatically being closed when dropped, and how that's better than having a close method. That's probably why it's not a s
by Arch485 2y ago
IIRC the Rust book talks about files automatically being closed when dropped, and how that's better than having a close method. That's probably why it's not a separate method, even though it suppresses errors.