]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/array/iter.rs
Auto merge of #94517 - aDotInTheVoid:inline_wrapping_next_power_two, r=yaahc
[rust.git] / library / core / src / array / iter.rs
index 72a634443e8776034552e2a0decd3f03d7b6ec90..e5024c215be9c77829704be7b4675b05254a7b05 100644 (file)
@@ -93,7 +93,7 @@ impl<T, const N: usize> IntoIter<T, N> {
     ///
     /// - The `buffer[initialized]` elements must all be initialized.
     /// - The range must be canonical, with `initialized.start <= initialized.end`.
-    /// - 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`.
     ///   (Like how indexing `[0][100..100]` fails despite the range being empty.)
     ///
     /// It's sound to have more elements initialized than mentioned, though that