From 9835e2ae736235810b4ea1c162ca5e65c547e770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:50 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/serde_json/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/serde_json/src/error.rs') diff --git a/vendor/serde_json/src/error.rs b/vendor/serde_json/src/error.rs index 1875ef08b..0898baf90 100644 --- a/vendor/serde_json/src/error.rs +++ b/vendor/serde_json/src/error.rs @@ -319,7 +319,7 @@ impl serde::de::StdError for Error { #[cfg(feature = "std")] fn source(&self) -> Option<&(dyn error::Error + 'static)> { match &self.err.code { - ErrorCode::Io(err) => Some(err), + ErrorCode::Io(err) => err.source(), _ => None, } } -- cgit v1.2.3