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.
1 parent 2b31c87 commit e65f382Copy full SHA for e65f382
src/de.rs
@@ -471,7 +471,10 @@ mod tests {
471
472
/// Generate subslices, plus stuffing empty slices into the returned
473
/// iterator.
474
- fn generate_subslices<'a>(mut bytes: &'a [u8], chunk_size: usize) -> impl Iterator<Item = &'a [u8]> {
+ fn generate_subslices<'a>(
475
+ mut bytes: &'a [u8],
476
+ chunk_size: usize,
477
+ ) -> impl Iterator<Item = &'a [u8]> + 'a {
478
assert_ne!(chunk_size, 0);
479
480
Gn::new_scoped(move |mut s| loop {
0 commit comments