diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-16 06:05:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-16 06:05:12 +0200 |
| commit | 006440a7fe935da813b26e0554730fe52131bd70 (patch) | |
| tree | 2cd83799f08519d01cd49256d230740f691797a0 /src/test/ui/thinlto | |
| parent | 0dc9e9c10ca6dc78cba8b9f9b15038c977b10a77 (diff) | |
| parent | 0150448f1b5474bb0c5fe3297eed0c51dae44dc8 (diff) | |
| download | rust-006440a7fe935da813b26e0554730fe52131bd70.tar.gz rust-006440a7fe935da813b26e0554730fe52131bd70.zip | |
Rollup merge of #61447 - scottmcm:vec-vecdeque, r=sfackler
Add some Vec <-> VecDeque documentation These are more than just `.into_iter().collect()`, so talk about some of their nuances. For VecDeque -> Vec I'm trying to intentionally not write a guarantee for people making their own `Vec`s, since the rules are more complicated than I think we want to commit to forever. The "Vec -> VecDeque doesn't reallocate" guarantee seems reasonable, though. (And I'm intentionally ambiguous about when it's O(1) instead of O(n).)
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
