diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-17 20:21:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-17 20:21:23 +0100 |
| commit | a2eefd2718724a2fc7ed4b0486488d58518c5a38 (patch) | |
| tree | ba5f9f7a8019ed89f6dc58f5849a40b942aa04db | |
| parent | 3a3242a0f92c5444ca8ae21450b530da2d8880c3 (diff) | |
| parent | db7125f008cfd72e8951c9a863178956e2cbacc3 (diff) | |
Rollup merge of #120044 - Storyyeller:patch-2, r=lqd
Fix typo in comments (in_place_collect)
| -rw-r--r-- | library/alloc/src/vec/in_place_collect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec/in_place_collect.rs b/library/alloc/src/vec/in_place_collect.rs index 0a2280545da..ec5f32539f2 100644 --- a/library/alloc/src/vec/in_place_collect.rs +++ b/library/alloc/src/vec/in_place_collect.rs @@ -9,7 +9,7 @@ //! or [`BinaryHeap<T>`], the adapters guarantee to consume enough items per step to make room //! for the results (represented by [`InPlaceIterable`]), provide transitive access to `source` //! (via [`SourceIter`]) and thus the underlying allocation. -//! And finally there are alignment and size constriants to consider, this is currently ensured via +//! And finally there are alignment and size constraints to consider, this is currently ensured via //! const eval instead of trait bounds in the specialized [`SpecFromIter`] implementation. //! //! [`BinaryHeap<T>`]: crate::collections::BinaryHeap |
