We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 021fc25 commit a06fdc1Copy full SHA for a06fdc1
1 file changed
library/core/src/array/iter.rs
@@ -66,7 +66,7 @@ impl<T, const N: usize> IntoIterator for [T; N] {
66
// FIXME: If normal `transmute` ever gets smart enough to allow this
67
// directly, use it instead of `transmute_unchecked`.
68
let data: [MaybeUninit<T>; N] = unsafe { transmute_unchecked(self) };
69
- // SAFETY: The original array was entirely initialized and the the alive
+ // SAFETY: The original array was entirely initialized and the alive
70
// range we're passing here represents that fact.
71
let inner = unsafe { InnerSized::new_unchecked(IndexRange::zero_to(N), data) };
72
IntoIter { inner: ManuallyDrop::new(inner) }
0 commit comments