Skip to content

Commit

Permalink
fix(Rust): Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Jan 9, 2022
1 parent ef1a519 commit a597cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<'de> Deserialize<'de> for Null {
let value = serde_json::Value::deserialize(deserializer)?;
match value.is_null() {
true => Ok(Null {}),
false => Err(serde::de::Error::custom("Exepected")),
false => Err(serde::de::Error::custom("Expected a null value")),
}
}
}
Expand Down

0 comments on commit a597cf8

Please sign in to comment.