We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c38fc65 commit 53e6ce4Copy full SHA for 53e6ce4
src/de.rs
@@ -899,7 +899,7 @@ impl<'de, R: Read<'de>> Deserializer<R> {
899
fn scan_number(&mut self, buf: &mut String) -> Result<()> {
900
match tri!(self.peek_or_null()) {
901
b'.' => self.scan_decimal(buf),
902
- c @ (b'e' | b'E') => self.scan_exponent(c as char, buf),
+ e @ b'e' | e @ b'E' => self.scan_exponent(e as char, buf),
903
_ => Ok(()),
904
}
905
@@ -924,7 +924,7 @@ impl<'de, R: Read<'de>> Deserializer<R> {
924
925
926
927
928
929
930
0 commit comments