From 7f094718f674cd3e36bc16fdd9128cadf1e23745 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 1 Jun 2021 21:30:31 +0100 Subject: [PATCH] errors: Drop some spurious uses of {:?} in messages Signed-off-by: Ian Jackson --- src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index 4c097429..73e353d4 100644 --- a/src/error.rs +++ b/src/error.rs @@ -14,9 +14,9 @@ pub enum OnlineError { NoPlayer(#[from] PlayerNotFound), #[error("invalid Z coordinate")] InvalidZCoord, - #[error("Server operational problems - consult administrator: {0:?}")] + #[error("Server operational problems - consult administrator: {0}")] ServerFailure(#[from] InternalError), - #[error("JSON deserialisation error: {0:?}")] + #[error("JSON deserialisation error: {0}")] BadJSON(serde_json::Error), #[error("referenced piece is gone (maybe race)")] PieceHeld, -- 2.30.2