Skip to content

Commit

Permalink
feat: remove explicit redundant lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam authored and Byron committed Feb 19, 2025
1 parent 6146cf0 commit bf5bf56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gz/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl GzHeaderParser {
}
}

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

0 comments on commit bf5bf56

Please # to comment.