Skip to content

Commit a06fdc1

Browse files
committed
Fix 'the the' typo in library/core/src/array/iter.rs
1 parent 021fc25 commit a06fdc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/core/src/array/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl<T, const N: usize> IntoIterator for [T; N] {
6666
// FIXME: If normal `transmute` ever gets smart enough to allow this
6767
// directly, use it instead of `transmute_unchecked`.
6868
let data: [MaybeUninit<T>; N] = unsafe { transmute_unchecked(self) };
69-
// SAFETY: The original array was entirely initialized and the the alive
69+
// SAFETY: The original array was entirely initialized and the alive
7070
// range we're passing here represents that fact.
7171
let inner = unsafe { InnerSized::new_unchecked(IndexRange::zero_to(N), data) };
7272
IntoIter { inner: ManuallyDrop::new(inner) }

0 commit comments

Comments
 (0)