about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/path-ordering.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-08 14:31:11 +0200
committerGitHub <noreply@github.com>2024-04-08 14:31:11 +0200
commit17c94b5f121ce05547ba5e47bfb1bfd6da317ee2 (patch)
treed846b5b650afe287ef0b18ee59d28e2a36f8f293 /tests/rustdoc-js-std/path-ordering.js
parent98fbf86af9aa425a273d7e28f94a52cef61231da (diff)
parent7a2678de7d3c0caa169542bd56a4fbf41b73a5b5 (diff)
downloadrust-17c94b5f121ce05547ba5e47bfb1bfd6da317ee2.tar.gz
rust-17c94b5f121ce05547ba5e47bfb1bfd6da317ee2.zip
Rollup merge of #123089 - Philippe-Cholet:vecdeque_pop_assume_cap, r=Nilstrieb
Add invariant to VecDeque::pop_* that len < cap if pop successful

Similar to #114370 for VecDeque instead of Vec.

I initially come from https://github.com/rust-itertools/itertools/pull/899 where we noticed that `pop_front;push_back;` was slower than expected so `@scottmcm` suggested I file an issue which lead to https://internals.rust-lang.org/t/vecdeque-pop-front-push-back/20483 where **kornel** mentionned #114334 (fixed by #114370).

This is my first time with codegen tests, I based the test on what was done for Vec.
Diffstat (limited to 'tests/rustdoc-js-std/path-ordering.js')
0 files changed, 0 insertions, 0 deletions