diff options
| -rw-r--r-- | talpid-wireguard/src/wireguard_go.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/talpid-wireguard/src/wireguard_go.rs b/talpid-wireguard/src/wireguard_go.rs index 0d651f00bc..0e3ea3e9ce 100644 --- a/talpid-wireguard/src/wireguard_go.rs +++ b/talpid-wireguard/src/wireguard_go.rs @@ -322,10 +322,10 @@ mod stats { #[derive(err_derive::Error, Debug, PartialEq)] pub enum Error { - #[error(display = "Failed to parse peer pubkey from string \"_0\"")] + #[error(display = "Failed to parse peer pubkey from string \"{}\"", _0)] PubKeyParse(String, #[error(source)] hex::FromHexError), - #[error(display = "Failed to parse integer from string \"_0\"")] + #[error(display = "Failed to parse integer from string \"{}\"", _0)] IntParse(String, #[error(source)] std::num::ParseIntError), } |
