mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-16 20:35:50 +00:00
Add has_data_left() to BufRead This is a continuation of #40747 and also addresses #40745. The problem with the previous PR was that it had "eof" in its method name. This PR uses a more descriptive method name, but I'm open to changing it.