39
39
alive : Range < usize > ,
40
40
}
41
41
42
- impl < T , const N : usize > IntoIter < T , { N } >
42
+ impl < T , const N : usize > IntoIter < T , N >
43
43
where
44
44
[ T ; N ] : LengthAtMost32 ,
45
45
{
99
99
}
100
100
101
101
#[ stable( feature = "array_value_iter_impls" , since = "1.40.0" ) ]
102
- impl < T , const N : usize > Iterator for IntoIter < T , { N } >
102
+ impl < T , const N : usize > Iterator for IntoIter < T , N >
103
103
where
104
104
[ T ; N ] : LengthAtMost32 ,
105
105
{
@@ -146,7 +146,7 @@ where
146
146
}
147
147
148
148
#[ stable( feature = "array_value_iter_impls" , since = "1.40.0" ) ]
149
- impl < T , const N : usize > DoubleEndedIterator for IntoIter < T , { N } >
149
+ impl < T , const N : usize > DoubleEndedIterator for IntoIter < T , N >
150
150
where
151
151
[ T ; N ] : LengthAtMost32 ,
152
152
{
@@ -182,7 +182,7 @@ where
182
182
}
183
183
184
184
#[ stable( feature = "array_value_iter_impls" , since = "1.40.0" ) ]
185
- impl < T , const N : usize > Drop for IntoIter < T , { N } >
185
+ impl < T , const N : usize > Drop for IntoIter < T , N >
186
186
where
187
187
[ T ; N ] : LengthAtMost32 ,
188
188
{
@@ -195,7 +195,7 @@ where
195
195
}
196
196
197
197
#[ stable( feature = "array_value_iter_impls" , since = "1.40.0" ) ]
198
- impl < T , const N : usize > ExactSizeIterator for IntoIter < T , { N } >
198
+ impl < T , const N : usize > ExactSizeIterator for IntoIter < T , N >
199
199
where
200
200
[ T ; N ] : LengthAtMost32 ,
201
201
{
@@ -210,17 +210,17 @@ where
210
210
}
211
211
212
212
#[ stable( feature = "array_value_iter_impls" , since = "1.40.0" ) ]
213
- impl < T , const N : usize > FusedIterator for IntoIter < T , { N } > where [ T ; N ] : LengthAtMost32 { }
213
+ impl < T , const N : usize > FusedIterator for IntoIter < T , N > where [ T ; N ] : LengthAtMost32 { }
214
214
215
215
// The iterator indeed reports the correct length. The number of "alive"
216
216
// elements (that will still be yielded) is the length of the range `alive`.
217
217
// This range is decremented in length in either `next` or `next_back`. It is
218
218
// always decremented by 1 in those methods, but only if `Some(_)` is returned.
219
219
#[ stable( feature = "array_value_iter_impls" , since = "1.40.0" ) ]
220
- unsafe impl < T , const N : usize > TrustedLen for IntoIter < T , { N } > where [ T ; N ] : LengthAtMost32 { }
220
+ unsafe impl < T , const N : usize > TrustedLen for IntoIter < T , N > where [ T ; N ] : LengthAtMost32 { }
221
221
222
222
#[ stable( feature = "array_value_iter_impls" , since = "1.40.0" ) ]
223
- impl < T : Clone , const N : usize > Clone for IntoIter < T , { N } >
223
+ impl < T : Clone , const N : usize > Clone for IntoIter < T , N >
224
224
where
225
225
[ T ; N ] : LengthAtMost32 ,
226
226
{
@@ -249,7 +249,7 @@ where
249
249
}
250
250
251
251
#[ stable( feature = "array_value_iter_impls" , since = "1.40.0" ) ]
252
- impl < T : fmt:: Debug , const N : usize > fmt:: Debug for IntoIter < T , { N } >
252
+ impl < T : fmt:: Debug , const N : usize > fmt:: Debug for IntoIter < T , N >
253
253
where
254
254
[ T ; N ] : LengthAtMost32 ,
255
255
{
0 commit comments