rust/library/alloc/src/collections/vec_deque
Esteban Küber e5b3c7ef14 Add rustc_confusables annotations to some stdlib APIs
Help with common API confusion, like asking for `push` when the data structure really has `append`.

```
error[E0599]: no method named `size` found for struct `Vec<{integer}>` in the current scope
  --> $DIR/rustc_confusables_std_cases.rs:17:7
   |
LL |     x.size();
   |       ^^^^
   |
help: you might have meant to use `len`
   |
LL |     x.len();
   |       ~~~
help: there is a method with a similar name
   |
LL |     x.resize();
   |       ~~~~~~
```

#59450
2024-02-22 18:04:55 +00:00
..
drain.rs address review comments 2024-02-16 13:11:05 +01:00
into_iter.rs Replace NonZero::<_>::new with NonZero::new. 2024-02-15 08:09:42 +01:00
iter.rs Use generic NonZero internally. 2024-02-15 08:09:42 +01:00
iter_mut.rs Use generic NonZero internally. 2024-02-15 08:09:42 +01:00
macros.rs Add support for custom allocator in VecDeque 2021-07-23 20:37:09 +02:00
mod.rs Add rustc_confusables annotations to some stdlib APIs 2024-02-22 18:04:55 +00:00
spec_extend.rs Don't use Take in SpecExtend impl 2022-11-26 00:44:24 +01:00
spec_from_iter.rs Spelling library/ 2023-04-26 02:10:22 -04:00
tests.rs Adjust library tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00