diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2019-06-12 14:51:54 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-06-12 15:17:07 +0200 |
| commit | 110f26d6fc8b0ea734c2da086399370e9f05922e (patch) | |
| tree | b1d525f208ec68b907c80025a651d82de45c3a5b /talpid-core | |
| parent | 234dcb641845cfd927535065df15cb8bb83075d3 (diff) | |
| download | mullvadvpn-110f26d6fc8b0ea734c2da086399370e9f05922e.tar.xz mullvadvpn-110f26d6fc8b0ea734c2da086399370e9f05922e.zip | |
Take self by ownership in tiny Copy type
Diffstat (limited to 'talpid-core')
| -rw-r--r-- | talpid-core/src/routing/linux/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-core/src/routing/linux/mod.rs b/talpid-core/src/routing/linux/mod.rs index a7adf839fe..77e5c372bd 100644 --- a/talpid-core/src/routing/linux/mod.rs +++ b/talpid-core/src/routing/linux/mod.rs @@ -432,7 +432,7 @@ enum IpVersion { } impl IpVersion { - fn to_route_arg(&self) -> &'static str { + fn to_route_arg(self) -> &'static str { match self { IpVersion::V4 => "-4", IpVersion::V6 => "-6", |
