diff --git a/src/de/errors.rs b/src/de/errors.rs index 9b79e9ed..d66d0101 100644 --- a/src/de/errors.rs +++ b/src/de/errors.rs @@ -75,7 +75,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 @@ -131,7 +131,7 @@ impl core::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, } )