Skip to content

Commit

Permalink
Address needless_lifetimes lint in decode_hex_escape
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 26, 2018
1 parent 1ef3da9 commit e0118dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ where
}
}

fn decode_hex_escape<'s>(&'s mut self) -> Result<u16> {
fn decode_hex_escape(&mut self) -> Result<u16> {
let mut n = 0;
for _ in 0..4 {
match decode_hex_val(try!(next_or_eof(self))) {
Expand Down

0 comments on commit e0118dd

Please sign in to comment.