mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
f562931178
Remove unnecessary tmp variable in default_read_exact
This `tmp` variable has existed since the original implementation (added in ff81920f03), but it's not necessary (maybe non-lexical lifetimes helped?).
It's common to read std source code to understand how things actually work, and this tripped me up on my first read.