From 249825a468aaf92b5271654c044e8536357292f3 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Tue, 23 Jan 2024 16:54:38 +0100 Subject: [PATCH] Fix typo --- src/de/errors.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, } )