state: EscapeUnicodeState,
// The index of the next hex digit to be printed (0 if none),
- // i.e. the number of remaining hex digits to be printed;
+ // i.e., the number of remaining hex digits to be printed;
// increasing from the least significant digit: 0x543210
hex_digit_idx: usize,
}
None
}
},
- EscapeDefaultState::Done => return None,
- EscapeDefaultState::Unicode(ref mut i) => return i.nth(n),
+ EscapeDefaultState::Done => None,
+ EscapeDefaultState::Unicode(ref mut i) => i.nth(n),
}
}