diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-28 21:18:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-28 21:18:31 +0100 |
| commit | 7c0a14f03008ce0b5f442f7a3fed236f686a1efc (patch) | |
| tree | c685353f1b2df0e46f5efbedaa64a92226c128ba /compiler/rustc_interface/src | |
| parent | b6699318fa320e2ea0e1e4ee58db9a49d8e68197 (diff) | |
| parent | 9055765ce1c89b0bc619df39aa8ba66ad641da9b (diff) | |
| download | rust-7c0a14f03008ce0b5f442f7a3fed236f686a1efc.tar.gz rust-7c0a14f03008ce0b5f442f7a3fed236f686a1efc.zip | |
Rollup merge of #139069 - a1phyr:better_take, r=joboet
`io::Take`: avoid new `BorrowedBuf` creation in some case If `self.limit == buf.capacity()`, doing the whole `BorrowedBuf` dance is not necessary.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
