Skip to content

Commit 44dd95e

Browse files
committed
Fix copypaste in test into-iter-impls-length-33 (const generic 32 -> 33)
1 parent 4ad40a8 commit 44dd95e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/test/ui/const-generics/array-impls/into-iter-impls-length-33.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,31 @@ use std::{
1010
};
1111

1212
pub fn yes_iterator() -> impl Iterator<Item = i32> {
13-
IntoIter::new([0i32; 32])
13+
IntoIter::new([0i32; 33])
1414
}
1515

1616
pub fn yes_double_ended_iterator() -> impl DoubleEndedIterator {
17-
IntoIter::new([0i32; 32])
17+
IntoIter::new([0i32; 33])
1818
}
1919

2020
pub fn yes_exact_size_iterator() -> impl ExactSizeIterator {
21-
IntoIter::new([0i32; 32])
21+
IntoIter::new([0i32; 33])
2222
}
2323

2424
pub fn yes_fused_iterator() -> impl FusedIterator {
25-
IntoIter::new([0i32; 32])
25+
IntoIter::new([0i32; 33])
2626
}
2727

2828
pub fn yes_trusted_len() -> impl TrustedLen {
29-
IntoIter::new([0i32; 32])
29+
IntoIter::new([0i32; 33])
3030
}
3131

3232
pub fn yes_clone() -> impl Clone {
33-
IntoIter::new([0i32; 32])
33+
IntoIter::new([0i32; 33])
3434
}
3535

3636
pub fn yes_debug() -> impl Debug {
37-
IntoIter::new([0i32; 32])
37+
IntoIter::new([0i32; 33])
3838
}
3939

4040

0 commit comments

Comments
 (0)