Skip to content

Commit

Permalink
http2: remove dead code
Browse files Browse the repository at this point in the history
(cherry picked from commit de280c4)
  • Loading branch information
victorjulien committed Jun 7, 2021
1 parent eb250e5 commit a3f9443
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rust/src/http2/decompression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ impl HTTP2cursor {
}
}

#[cfg(feature = "debug-validate")]
pub fn position(&self) -> u64 {
return self.cursor.position();
}

pub fn set_position(&mut self, pos: u64) {
return self.cursor.set_position(pos);
}
Expand Down

0 comments on commit a3f9443

Please sign in to comment.