Skip to content

Commit

Permalink
Remove "mut" from ReadChunk::consumer
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Jan 28, 2022
1 parent 2be9d99 commit cefdd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chunks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ pub struct ReadChunk<'a, T> {
// Must be "mut" for drop_in_place()
second_ptr: *mut T,
second_len: usize,
consumer: &'a mut Consumer<T>,
consumer: &'a Consumer<T>,
}

impl<T> ReadChunk<'_, T> {
Expand Down

0 comments on commit cefdd81

Please sign in to comment.