Fix falsey typo

This commit is contained in:
Bouke van der Bijl 2017-12-07 17:36:36 +01:00
parent 788e431fde
commit 53b5ddbdcd
No known key found for this signature in database
GPG Key ID: AF11494CE19F2559

View File

@ -205,7 +205,7 @@ impl<'de, R: Read<'de>> Deserializer<R> {
if let Err(err) = self.parse_ident(b"alse") {
return err;
}
de::Error::invalid_type(Unexpected::Bool(true), exp)
de::Error::invalid_type(Unexpected::Bool(false), exp)
}
b'-' => {
self.eat_char();