Skip to content

Commit d90189d

Browse files
authored
Merge pull request #189 from quininer/fix-old
Fix lifetime for rustc 1.30
2 parents 68f285a + 8c0c094 commit d90189d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gz/bufread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ enum GzState {
316316
/// A small adapter which reads data originally from `buf` and then reads all
317317
/// further data from `reader`. This will also buffer all data read from
318318
/// `reader` into `buf` for reuse on a further call.
319-
struct Buffer<'a, T> {
319+
struct Buffer<'a, T: 'a> {
320320
buf: &'a mut Vec<u8>,
321321
buf_cur: usize,
322322
buf_max: usize,

0 commit comments

Comments
 (0)