about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-17 06:08:18 +0100
committerGitHub <noreply@github.com>2022-01-17 06:08:18 +0100
commit7bdd978c24f728261442dae3ee0104f5360544ec (patch)
treeeaa1a71d8a70a1a1372d912bb5dc4b799fc34165 /src/librustdoc/html/static/js/source-script.js
parent775fe37ca9354371eb69c1dc7ee65d941dcafe15 (diff)
parent361ef2aadc3927b170b6fd2a7f3a9d5308eeeaef (diff)
downloadrust-7bdd978c24f728261442dae3ee0104f5360544ec.tar.gz
rust-7bdd978c24f728261442dae3ee0104f5360544ec.zip
Rollup merge of #92977 - kornelski:popdoc, r=dtolnay
Docs: recommend VecDeque instead of Vec::remove(0)

Suggestion based on a [discussion](https://internals.rust-lang.org/t/should-vec-have-a-try-remove-mut-self-usize-option-t-function/15964/9?u=kornel) where user needlessly struggled with `remove(0)` and accidentally created a quadratic cost.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions