From 3ae6634dfbc293722f85317de752bc2e2d583552 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 11 Apr 2022 20:51:12 +0100 Subject: [PATCH] Fix message for IE::JSONEncode The name is JSONEncode, so this must be serialisation, and indeed that is true of both the construction sites. Signed-off-by: Ian Jackson --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index b3d5a031..1d34c9b7 100644 --- a/src/error.rs +++ b/src/error.rs @@ -38,7 +38,7 @@ pub enum InternalError { SVGProcessingFailed(#[from] SVGProcessingError), #[error("String formatting error {0}")] StringFormatting(#[from] fmt::Error), - #[error("JSON deserialisation error: {0:?}")] + #[error("JSON serialisation error: {0:?}")] JSONEncode(serde_json::Error), #[error("Server error: {}", .0.d())] Anyhow(#[from] anyhow::Error), -- 2.30.2