]> git.lizzy.rs Git - rust.git/commitdiff
Fix copypaste in test into-iter-impls-length-33 (const generic 32 -> 33)
authorRoman Proskuryakov <humbug@deeptown.org>
Sun, 5 Jul 2020 16:06:02 +0000 (19:06 +0300)
committerRoman Proskuryakov <humbug@deeptown.org>
Sun, 5 Jul 2020 16:06:02 +0000 (19:06 +0300)
src/test/ui/const-generics/array-impls/into-iter-impls-length-33.rs

index 0aeba8607e818b774b82c596ffbc57f084f1ac0f..5503813c7aa3e0218b23640870948308f54ba5fd 100644 (file)
 };
 
 pub fn yes_iterator() -> impl Iterator<Item = i32> {
-    IntoIter::new([0i32; 32])
+    IntoIter::new([0i32; 33])
 }
 
 pub fn yes_double_ended_iterator() -> impl DoubleEndedIterator {
-    IntoIter::new([0i32; 32])
+    IntoIter::new([0i32; 33])
 }
 
 pub fn yes_exact_size_iterator() -> impl ExactSizeIterator {
-    IntoIter::new([0i32; 32])
+    IntoIter::new([0i32; 33])
 }
 
 pub fn yes_fused_iterator() -> impl FusedIterator {
-    IntoIter::new([0i32; 32])
+    IntoIter::new([0i32; 33])
 }
 
 pub fn yes_trusted_len() -> impl TrustedLen {
-    IntoIter::new([0i32; 32])
+    IntoIter::new([0i32; 33])
 }
 
 pub fn yes_clone() -> impl Clone {
-    IntoIter::new([0i32; 32])
+    IntoIter::new([0i32; 33])
 }
 
 pub fn yes_debug() -> impl Debug {
-    IntoIter::new([0i32; 32])
+    IntoIter::new([0i32; 33])
 }