diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-02-26 12:05:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-26 12:05:00 +0100 |
| commit | be23b326dcf00c43aaa48670a073650b3fc33612 (patch) | |
| tree | ae43aee27a23f20415c474bfdb516959b54dea28 /compiler/rustc_parse/src/errors.rs | |
| parent | c815e03447574916fc4e47c28803deadc97479b7 (diff) | |
| parent | 4a4f43e4e9b994c729a0506d921fe9734673a20a (diff) | |
| download | rust-be23b326dcf00c43aaa48670a073650b3fc33612.tar.gz rust-be23b326dcf00c43aaa48670a073650b3fc33612.zip | |
Rollup merge of #108475 - Sp00ph:fix_shrink_to, r=thomcc
Fix `VecDeque::shrink_to` and add tests. Fixes #108453. Also adds both a specific test with the code from #108453 and an exhaustive test that checks all possible head positions, lengths and target capacities for deques with capacity 16. cc `@trinity-1686a` `@scottmcm`
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
