summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2023-08-31 11:27:20 +0200
committerDavid Lönnhager <david.l@mullvad.net>2023-08-31 13:25:42 +0200
commit32f5426bb5c9ec886cfdcbb0c4fc3b516ef2d142 (patch)
treef213aa245e742dd6ae58ccd82193b81001c2f9c5
parente2d0058148d05d3aef9eb3041ecba6ff400a8d03 (diff)
downloadmullvadvpn-32f5426bb5c9ec886cfdcbb0c4fc3b516ef2d142.tar.xz
mullvadvpn-32f5426bb5c9ec886cfdcbb0c4fc3b516ef2d142.zip
Fix incorrectly formatted errors in wireguard-go module
-rw-r--r--talpid-wireguard/src/wireguard_go.rs4
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),
}