diff options
| author | jackloomen <79494508+jackloomen@users.noreply.github.com> | 2022-11-23 16:48:29 +0000 |
|---|---|---|
| committer | Linus Färnstrand <faern@faern.net> | 2022-12-16 12:58:45 +0100 |
| commit | 2cfada32e14e713695b2b0b1121daede83a75882 (patch) | |
| tree | 5d67b14940c5dba06c45d47b9aa604fc8ecba92c | |
| parent | 0c9aac33285150a3678a1f7325bee03bdc4cd3df (diff) | |
| download | mullvadvpn-2cfada32e14e713695b2b0b1121daede83a75882.tar.xz mullvadvpn-2cfada32e14e713695b2b0b1121daede83a75882.zip | |
Update wireguard.rs
| -rw-r--r-- | talpid-types/src/net/wireguard.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/talpid-types/src/net/wireguard.rs b/talpid-types/src/net/wireguard.rs index fa08b9c007..e248a2f4f9 100644 --- a/talpid-types/src/net/wireguard.rs +++ b/talpid-types/src/net/wireguard.rs @@ -287,12 +287,6 @@ impl From<Box<[u8; 32]>> for PresharedKey { impl fmt::Debug for PresharedKey { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - write!(f, "{}", &self) - } -} - -impl fmt::Display for PresharedKey { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!(f, "{}", &base64::encode(self.as_bytes())) } } |
