Skip to content

Commit 1465f26

Browse files
committed
Merge branch 'master' into PR25
2 parents 36cd0ce + 2cbfb20 commit 1465f26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/de/mod.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ impl<'a, 'de> de::Deserializer<'de> for &'a mut Deserializer<'de> {
511511
where
512512
V: Visitor<'de>,
513513
{
514-
match self.peek().ok_or(Error::EofWhileParsingValue)? {
514+
match self.parse_whitespace().ok_or(Error::EofWhileParsingValue)? {
515515
b'[' => {
516516
self.eat_char();
517517
let ret = visitor.visit_seq(SeqAccess::new(self))?;
@@ -1054,7 +1054,6 @@ mod tests {
10541054

10551055
// See https://iot.mozilla.org/wot/#thing-resource
10561056
#[test]
1057-
#[ignore]
10581057
fn wot() {
10591058
#[derive(Debug, Deserialize, PartialEq)]
10601059
struct Thing<'a> {
@@ -1114,7 +1113,7 @@ mod tests {
11141113
properties: Properties {
11151114
temperature: Property {
11161115
ty: Type::Number,
1117-
unit: Some("celcius"),
1116+
unit: Some("celsius"),
11181117
description: Some("An ambient temperature sensor"),
11191118
href: "/properties/temperature",
11201119
},

0 commit comments

Comments
 (0)