diff options
| -rw-r--r-- | talpid-wireguard/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-wireguard/src/lib.rs b/talpid-wireguard/src/lib.rs index f28879c512..cdaaf4cfc0 100644 --- a/talpid-wireguard/src/lib.rs +++ b/talpid-wireguard/src/lib.rs @@ -178,7 +178,7 @@ async fn maybe_create_obfuscator( ) -> Result<Option<ObfuscatorHandle>> { // There are one or two peers. // The first one is always the entry relay. - let mut first_peer = config.peers.get_mut(0).expect("missing peer"); + let first_peer = config.peers.get_mut(0).expect("missing peer"); if let Some(ref obfuscator_config) = config.obfuscator_config { match obfuscator_config { |
