@@ -910,7 +910,7 @@ impl<T, A: Allocator> RawTable<T, A> {
910910 & self . alloc
911911 }
912912
913- /// Returns pointer to one past last `data` element in the the table as viewed from
913+ /// Returns pointer to one past last `data` element in the table as viewed from
914914 /// the start point of the allocation.
915915 ///
916916 /// The caller must ensure that the `RawTable` outlives the returned [`NonNull<T>`],
@@ -2027,7 +2027,7 @@ impl RawTableInner {
20272027 /// if this function returns an `index` it will be in the range `0..=self.buckets()`.
20282028 ///
20292029 /// This function does not make any changes to the `data` parts of the table,
2030- /// or any changes to the the `items` or `growth_left` field of the table.
2030+ /// or any changes to the `items` or `growth_left` field of the table.
20312031 ///
20322032 /// # Safety
20332033 ///
@@ -2211,7 +2211,7 @@ impl RawTableInner {
22112211 /// - `FULL` control bytes -> `DELETED`.
22122212 ///
22132213 /// This function does not make any changes to the `data` parts of the table,
2214- /// or any changes to the the `items` or `growth_left` field of the table.
2214+ /// or any changes to the `items` or `growth_left` field of the table.
22152215 ///
22162216 /// # Safety
22172217 ///
@@ -2556,7 +2556,7 @@ impl RawTableInner {
25562556 base. sub ( ( index + 1 ) * size_of)
25572557 }
25582558
2559- /// Returns pointer to one past last `data` element in the the table as viewed from
2559+ /// Returns pointer to one past last `data` element in the table as viewed from
25602560 /// the start point of the allocation (convenience for `self.ctrl.cast()`).
25612561 ///
25622562 /// This function actually returns a pointer to the end of the `data element` at
@@ -2645,7 +2645,7 @@ impl RawTableInner {
26452645 /// the end of the array.
26462646 ///
26472647 /// This function does not make any changes to the `data` parts of the table,
2648- /// or any changes to the the `items` or `growth_left` field of the table.
2648+ /// or any changes to the `items` or `growth_left` field of the table.
26492649 ///
26502650 /// # Safety
26512651 ///
@@ -2679,7 +2679,7 @@ impl RawTableInner {
26792679 /// bytes, returning the old control byte.
26802680 ///
26812681 /// This function does not make any changes to the `data` parts of the table,
2682- /// or any changes to the the `items` or `growth_left` field of the table.
2682+ /// or any changes to the `items` or `growth_left` field of the table.
26832683 ///
26842684 /// # Safety
26852685 ///
@@ -2714,7 +2714,7 @@ impl RawTableInner {
27142714 /// the end of the array.
27152715 ///
27162716 /// This function does not make any changes to the `data` parts of the table,
2717- /// or any changes to the the `items` or `growth_left` field of the table.
2717+ /// or any changes to the `items` or `growth_left` field of the table.
27182718 ///
27192719 /// # Safety
27202720 ///
@@ -3896,10 +3896,10 @@ impl<T> RawIterRange<T> {
38963896 // we will never end up in the given branch, since we should have already
38973897 // yielded all the elements of the table.
38983898 //
3899- // 2. For tables larger than the group width. The the number of buckets is a
3900- // power of two (2 ^ n), Group::WIDTH is also power of two (2 ^ k). Sinse
3899+ // 2. For tables larger than the group width. The number of buckets is a
3900+ // power of two (2 ^ n), Group::WIDTH is also power of two (2 ^ k). Since
39013901 // `(2 ^ n) > (2 ^ k)`, than `(2 ^ n) % (2 ^ k) = 0`. As we start from the
3902- // the start of the array of control bytes, and never try to iterate after
3902+ // start of the array of control bytes, and never try to iterate after
39033903 // getting all the elements, the last `self.current_group` will read bytes
39043904 // from the `self.buckets() - Group::WIDTH` index. We know also that
39053905 // `self.current_group.next()` will always retun indices within the range
@@ -4219,8 +4219,8 @@ impl FullBucketsIndices {
42194219 // we will never end up in the given branch, since we should have already
42204220 // yielded all the elements of the table.
42214221 //
4222- // 2. For tables larger than the group width. The the number of buckets is a
4223- // power of two (2 ^ n), Group::WIDTH is also power of two (2 ^ k). Sinse
4222+ // 2. For tables larger than the group width. The number of buckets is a
4223+ // power of two (2 ^ n), Group::WIDTH is also power of two (2 ^ k). Since
42244224 // `(2 ^ n) > (2 ^ k)`, than `(2 ^ n) % (2 ^ k) = 0`. As we start from the
42254225 // the start of the array of control bytes, and never try to iterate after
42264226 // getting all the elements, the last `self.ctrl` will be equal to
0 commit comments