diff options
| author | Joakim Hulthe <joakim.hulthe@mullvad.net> | 2025-02-11 15:38:23 +0100 |
|---|---|---|
| committer | Joakim Hulthe <joakim.hulthe@mullvad.net> | 2025-02-25 13:37:36 +0100 |
| commit | f4a54e55c72d10fe02e14ccb72216f2522f34641 (patch) | |
| tree | aab4442f25501ecd630374fff8a268dde1234495 | |
| parent | fbf32228e84997c1bb853bc047b07680167a48a2 (diff) | |
| download | mullvadvpn-f4a54e55c72d10fe02e14ccb72216f2522f34641.tar.xz mullvadvpn-f4a54e55c72d10fe02e14ccb72216f2522f34641.zip | |
Add safety comment in talpid_openvpn
| -rw-r--r-- | talpid-openvpn/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/talpid-openvpn/src/lib.rs b/talpid-openvpn/src/lib.rs index d01290e6f3..399bc3fa36 100644 --- a/talpid-openvpn/src/lib.rs +++ b/talpid-openvpn/src/lib.rs @@ -200,6 +200,7 @@ impl std::fmt::Debug for dyn WintunContext { write!( f, "WintunContext {{ luid: {}, ipv6: {} }}", + // SAFETY: It's always safe to interpet a LUID as an u64 unsafe { self.luid().Value }, self.ipv6() ) |
