about summary refs log tree commit diff
path: root/library/std/src/primitive_docs.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-06-17 23:40:58 +0200
committerGitHub <noreply@github.com>2021-06-17 23:40:58 +0200
commitb7dd942e150d1ac58ca03d316ce5b5f69d46988c (patch)
tree2297a4e97f8d7beaca66b51ef7a228563dcbf0c5 /library/std/src/primitive_docs.rs
parentfcac47896696899badc9a436d798d48158895ea3 (diff)
parent2cbd5d1df54400b8bd718b7e0dadc4c38c6f9932 (diff)
downloadrust-b7dd942e150d1ac58ca03d316ce5b5f69d46988c.tar.gz
rust-b7dd942e150d1ac58ca03d316ce5b5f69d46988c.zip
Rollup merge of #86202 - a1phyr:spec_io_bytes_size_hint, r=m-ou-se
Specialize `io::Bytes::size_hint` for more types

Improve the result of `<io::Bytes as Iterator>::size_hint` for some readers. I did not manage to specialize `SizeHint` for `io::Cursor`

Side question: would it be interesting for `io::Read` to have an optional `size_hint` method ?
Diffstat (limited to 'library/std/src/primitive_docs.rs')
0 files changed, 0 insertions, 0 deletions