We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Copy
IoSlice
1 parent dd44ea0 commit 47af9b1Copy full SHA for 47af9b1
src/buf/take.rs
@@ -163,24 +163,7 @@ impl<T: Buf> Buf for Take<T> {
163
}
164
165
const LEN: usize = 16;
166
- let mut slices: [IoSlice<'a>; LEN] = [
167
- IoSlice::new(&[]),
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
- ];
+ let mut slices: [IoSlice<'a>; LEN] = [IoSlice::new(&[]); LEN];
184
185
let cnt = self
186
.inner
0 commit comments