Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix typo
  • Loading branch information
chipshort committed Jan 23, 2024
commit 35c33c622bcd9b93a6c6a0990d6a83d94f0f9b01
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