Skip to content

Commit db7125f

Browse files
authored
Fix typo in comments (in_place_collect)
1 parent 6bf600b commit db7125f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec/in_place_collect.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//! or [`BinaryHeap<T>`], the adapters guarantee to consume enough items per step to make room
1010
//! for the results (represented by [`InPlaceIterable`]), provide transitive access to `source`
1111
//! (via [`SourceIter`]) and thus the underlying allocation.
12-
//! And finally there are alignment and size constriants to consider, this is currently ensured via
12+
//! And finally there are alignment and size constraints to consider, this is currently ensured via
1313
//! const eval instead of trait bounds in the specialized [`SpecFromIter`] implementation.
1414
//!
1515
//! [`BinaryHeap<T>`]: crate::collections::BinaryHeap

0 commit comments

Comments
 (0)