Skip to content

Commit bf5bf56

Browse files
CosminPerRamByron
authored andcommitted
feat: remove explicit redundant lifetime
1 parent 6146cf0 commit bf5bf56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gz/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl GzHeaderParser {
115115
}
116116
}
117117

118-
fn parse<'a, R: BufRead>(&mut self, r: &'a mut R) -> Result<()> {
118+
fn parse<R: BufRead>(&mut self, r: &mut R) -> Result<()> {
119119
loop {
120120
match &mut self.state {
121121
GzHeaderState::Start(count, buffer) => {

0 commit comments

Comments
 (0)