mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
7c0a14f030
`io::Take`: avoid new `BorrowedBuf` creation in some case If `self.limit == buf.capacity()`, doing the whole `BorrowedBuf` dance is not necessary.