diff options
| author | David Lönnhager <david.l@mullvad.net> | 2023-08-31 11:27:20 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2023-08-31 13:25:42 +0200 |
| commit | 32f5426bb5c9ec886cfdcbb0c4fc3b516ef2d142 (patch) | |
| tree | f213aa245e742dd6ae58ccd82193b81001c2f9c5 | |
| parent | e2d0058148d05d3aef9eb3041ecba6ff400a8d03 (diff) | |
| download | mullvadvpn-32f5426bb5c9ec886cfdcbb0c4fc3b516ef2d142.tar.xz mullvadvpn-32f5426bb5c9ec886cfdcbb0c4fc3b516ef2d142.zip | |
Fix incorrectly formatted errors in wireguard-go module
| -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), } |
