diff options
| author | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2025-07-07 13:52:42 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2025-07-09 09:51:28 +0200 |
| commit | 41e8b44e397d982eecec72af775813df435e7b5a (patch) | |
| tree | 5a4c25c4eda1ed4bf8b721e2f562ee9fd4f4780b | |
| parent | ee418601498fb0215ebbb5e87aa786347f5909f0 (diff) | |
| download | mullvadvpn-41e8b44e397d982eecec72af775813df435e7b5a.tar.xz mullvadvpn-41e8b44e397d982eecec72af775813df435e7b5a.zip | |
Fix called `Iterator::last` on a `DoubleEndedIterator`
| -rw-r--r-- | tunnel-obfuscation/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel-obfuscation/src/main.rs b/tunnel-obfuscation/src/main.rs index d08329e0a1..2ed49c18ad 100644 --- a/tunnel-obfuscation/src/main.rs +++ b/tunnel-obfuscation/src/main.rs @@ -7,7 +7,7 @@ async fn main() { println!("Missing arguments"); } - let obfuscator = instantiate_requested(&args().last().unwrap()).await; + let obfuscator = instantiate_requested(&args().next_back().unwrap()).await; println!("endpoint() returns {:?}", obfuscator.endpoint()); |
