Fix make tidy and name what is being computed
This commit is contained in:
parent
79dfa25900
commit
8984242373
1 changed files with 2 additions and 1 deletions
|
|
@ -470,7 +470,8 @@ impl Iterator for EscapeUnicode {
|
|||
Some('{')
|
||||
}
|
||||
EscapeUnicodeState::Value => {
|
||||
let c = from_digit(((self.c as u32) >> (self.hex_digit_idx * 4)) & 0xf, 16).unwrap();
|
||||
let hex_digit = ((self.c as u32) >> (self.hex_digit_idx * 4)) & 0xf;
|
||||
let c = from_digit(hex_digit, 16).unwrap();
|
||||
if self.hex_digit_idx == 0 {
|
||||
self.state = EscapeUnicodeState::RightBrace;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue