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