rust/library/alloc/src/collections
Dylan DPC 2e9ed6fb93
Rollup merge of #80003 - Stupremee:fix-zst-vecdeque-conversion-panic, r=dtolnay
Fix overflow when converting ZST Vec to VecDeque

```rust
let v = vec![(); 100];
let queue = VecDeque::from(v);
println!("{:?}", queue);
```
This code will currently panic with a capacity overflow.
This PR resolves this issue and makes the code run fine.

Resolves #78532
2020-12-18 00:30:11 +01:00
..
btree Rollup merge of #80022 - ssomers:btree_cleanup_8, r=Mark-Simulacrum 2020-12-17 11:36:49 +01:00
linked_list Remove linked_list_extras methods. 2020-08-01 00:54:22 +08:00
vec_deque fix typo 2020-12-13 15:18:38 +01:00
binary_heap.rs Added SAFETY comment as request 2020-11-09 22:34:31 +01:00
linked_list.rs Remove deprecated linked_list_extras methods. 2020-12-08 20:52:57 +01:00
mod.rs Rename LayoutErr to LayoutError outside of core 2020-10-08 00:40:10 -04:00