We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
array::IntoIter::new_unchecked
1 parent c651ba8 commit 715262fCopy full SHA for 715262f
library/core/src/array/iter.rs
@@ -93,7 +93,7 @@ impl<T, const N: usize> IntoIter<T, N> {
93
///
94
/// - The `buffer[initialized]` elements must all be initialized.
95
/// - The range must be canonical, with `initialized.start <= initialized.end`.
96
- /// - The range must in in-bounds for the buffer, with `initialized.end <= N`.
+ /// - The range must be in-bounds for the buffer, with `initialized.end <= N`.
97
/// (Like how indexing `[0][100..100]` fails despite the range being empty.)
98
99
/// It's sound to have more elements initialized than mentioned, though that
0 commit comments