about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-05 08:45:03 +0000
committerbors <bors@rust-lang.org>2022-12-05 08:45:03 +0000
commit203c8765ea33c65d888febe0e8219c4bb11b0d89 (patch)
treee26611529f67ed3193e9126d85cb651a3395b964 /compiler/rustc_codegen_gcc
parente72ea1dc376e9c302c68faefafd967a8a7ef255a (diff)
parenta964a37211691ae9a28b76b6002ff55a707e9a8b (diff)
downloadrust-203c8765ea33c65d888febe0e8219c4bb11b0d89.tar.gz
rust-203c8765ea33c65d888febe0e8219c4bb11b0d89.zip
Auto merge of #105046 - scottmcm:vecdeque-vs-vec, r=Mark-Simulacrum
Send `VecDeque::from_iter` via `Vec::from_iter`

Since it's O(1) to convert between them now, might as well reuse the logic.

Mostly for the various specializations it does, but might also save some monomorphization work if, say, people collect slice iterators into both `Vec`s and `VecDeque`s.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions