From 9cd65fed32290021bc9f4d1a8013d075849c4fdd Mon Sep 17 00:00:00 2001 From: Adrian Friedli Date: Wed, 6 Dec 2023 11:09:23 +0100 Subject: [PATCH] fix formatting of error field --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2c0ea80..382d737 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -103,7 +103,7 @@ pub enum Transport { // TODO: impl std::error::Error via thiserror #[derive(Debug, thiserror::Error)] pub enum Error { - #[error("Transport / Backend error: {:?}", 0)] + #[error("Transport / Backend error: {0:?}")] Transport(T), #[error("Invalid host specification")] InvalidHost,