Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Jan 23, 2024
1 parent a9a9b9b commit 35c33c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/de/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub enum Error {
/// JSON has a comma after the last value in an array or map.
TrailingComma,

/// JSON is nested too deeply, exceeeded the recursion limit.
/// JSON is nested too deeply, exceeded the recursion limit.
RecursionLimitExceeded,

/// Custom error message from serde
Expand Down Expand Up @@ -135,7 +135,7 @@ impl fmt::Display for Error {
value."
}
Error::TrailingComma => "JSON has a comma after the last value in an array or map.",
Error::RecursionLimitExceeded => "JSON is nested too deeply, exceeeded the recursion limit.",
Error::RecursionLimitExceeded => "JSON is nested too deeply, exceeded the recursion limit.",
Error::Custom(msg) => msg,
}
)
Expand Down

0 comments on commit 35c33c6

Please sign in to comment.