From: Ian Jackson Date: Tue, 1 Jun 2021 20:30:31 +0000 (+0100) Subject: errors: Drop some spurious uses of {:?} in messages X-Git-Tag: otter-0.7.0~130 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7f094718f674cd3e36bc16fdd9128cadf1e23745;p=otter.git errors: Drop some spurious uses of {:?} in messages Signed-off-by: Ian Jackson --- 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,