mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-13 17:35:37 +00:00
chore: update Rust to 2024 edition (#2066)
This commit is contained in:
@@ -740,10 +740,6 @@ impl InterfaceLuid {
|
||||
|
||||
// SAFETY: TODO
|
||||
let ret = unsafe { SetIpInterfaceEntry(&mut row) };
|
||||
if NO_ERROR == ret {
|
||||
Ok(())
|
||||
} else {
|
||||
Err(ret)
|
||||
}
|
||||
if NO_ERROR == ret { Ok(()) } else { Err(ret) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user