rust/library/alloc/src/vec
bors ea0c22ea4f Auto merge of #106621 - ozkanonur:enable-elided-lifetimes-for-doctests, r=Mark-Simulacrum
enable `rust_2018_idioms` lint group for doctests

With this change, `rust_2018_idioms` lint group will be enabled for compiler/libstd doctests.

Resolves #106086
Resolves #99144

Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-05-08 04:50:28 +00:00
..
cow.rs remove some unneeded imports 2023-04-12 19:27:18 +02:00
drain.rs enable rust_2018_idioms for doctests 2023-05-07 00:12:29 +03:00
drain_filter.rs enable rust_2018_idioms for doctests 2023-05-07 00:12:29 +03:00
in_place_collect.rs Spelling library/ 2023-04-26 02:10:22 -04:00
in_place_drop.rs Fix leaking in inplace collection when destructor panics 2022-09-10 11:34:22 +02:00
into_iter.rs replace version placeholders 2023-04-28 08:47:55 -07:00
is_zero.rs Update IsZero documentation 2023-01-18 15:48:53 +00:00
mod.rs enable rust_2018_idioms for doctests 2023-05-07 00:12:29 +03:00
partial_eq.rs Allow comparing Vecs with different allocators using == 2022-02-08 01:50:55 +00:00
set_len_on_drop.rs Tune RepeatWith::try_fold and Take::for_each and Vec::extend_trusted 2022-11-24 19:14:19 -08:00
spec_extend.rs Extract the logic for TrustedLen to a named method that can be called directly 2022-11-24 03:12:05 -08:00
spec_from_elem.rs Support vec zero-alloc optimization for tuples and byte arrays 2022-07-24 15:56:39 -04:00
spec_from_iter.rs Update documentation of SpecFromIter to reflect the removed impls 2021-05-31 21:07:03 +02:00
spec_from_iter_nested.rs Improve estimation of capacity in Vec::from_iter 2022-01-19 09:47:49 -05:00
splice.rs enable rust_2018_idioms for doctests 2023-05-07 00:12:29 +03:00