@@ -13,8 +13,8 @@ help: consider implementing `IntoIterator` for `&S1`
1313 |
1414LL +
1515LL + impl IntoIterator for &S1 {
16- LL + type IntoIter = std::slice::Iter<'_, u8>;
1716LL + type Item = &u8;
17+ LL + type IntoIter = std::slice::Iter<'_, u8>;
1818LL + fn into_iter(self) -> Self::IntoIter {
1919LL + self.iter()
2020LL + }
@@ -34,8 +34,8 @@ help: consider implementing `IntoIterator` for `&mut S1`
3434 |
3535LL +
3636LL + impl IntoIterator for &mut S1 {
37- LL + type IntoIter = std::slice::IterMut<'_, u8>;
3837LL + type Item = &mut u8;
38+ LL + type IntoIter = std::slice::IterMut<'_, u8>;
3939LL + fn into_iter(self) -> Self::IntoIter {
4040LL + self.iter()
4141LL + }
@@ -55,8 +55,8 @@ help: consider implementing `IntoIterator` for `&S3<'a>`
5555 |
5656LL +
5757LL + impl IntoIterator for &S3<'a> {
58- LL + type IntoIter = std::slice::Iter<'_, u8>;
5958LL + type Item = &u8;
59+ LL + type IntoIter = std::slice::Iter<'_, u8>;
6060LL + fn into_iter(self) -> Self::IntoIter {
6161LL + self.iter()
6262LL + }
@@ -76,8 +76,8 @@ help: consider implementing `IntoIterator` for `&mut S3<'a>`
7676 |
7777LL +
7878LL + impl IntoIterator for &mut S3<'a> {
79- LL + type IntoIter = std::slice::IterMut<'_, u8>;
8079LL + type Item = &mut u8;
80+ LL + type IntoIter = std::slice::IterMut<'_, u8>;
8181LL + fn into_iter(self) -> Self::IntoIter {
8282LL + self.iter()
8383LL + }
@@ -96,8 +96,8 @@ help: consider implementing `IntoIterator` for `&S8<T>`
9696 |
9797LL +
9898LL + impl IntoIterator for &S8<T> {
99- LL + type IntoIter = std::slice::Iter<'static, T>;
10099LL + type Item = &T;
100+ LL + type IntoIter = std::slice::Iter<'static, T>;
101101LL + fn into_iter(self) -> Self::IntoIter {
102102LL + self.iter()
103103LL + }
@@ -117,8 +117,8 @@ help: consider implementing `IntoIterator` for `&S9<T>`
117117 |
118118LL +
119119LL + impl IntoIterator for &S9<T> {
120- LL + type IntoIter = std::slice::Iter<'_, T>;
121120LL + type Item = &T;
121+ LL + type IntoIter = std::slice::Iter<'_, T>;
122122LL + fn into_iter(self) -> Self::IntoIter {
123123LL + self.iter()
124124LL + }
@@ -138,8 +138,8 @@ help: consider implementing `IntoIterator` for `&mut S9<T>`
138138 |
139139LL +
140140LL + impl IntoIterator for &mut S9<T> {
141- LL + type IntoIter = std::slice::IterMut<'_, T>;
142141LL + type Item = &mut T;
142+ LL + type IntoIter = std::slice::IterMut<'_, T>;
143143LL + fn into_iter(self) -> Self::IntoIter {
144144LL + self.iter()
145145LL + }
@@ -162,8 +162,8 @@ help: consider implementing `IntoIterator` for `&Issue12037`
162162 |
163163LL ~
164164LL + impl IntoIterator for &Issue12037 {
165- LL + type IntoIter = std::slice::Iter<'_, u8>;
166165LL + type Item = &u8;
166+ LL + type IntoIter = std::slice::Iter<'_, u8>;
167167LL + fn into_iter(self) -> Self::IntoIter {
168168LL + self.iter()
169169LL + }
0 commit comments