mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-11 15:46:35 -07:00
Cleanup rust-analyzer warnings
This commit is contained in:
parent
da179d9930
commit
b329fb68a9
3 changed files with 16 additions and 35 deletions
|
@ -219,7 +219,7 @@ pub extern "C" fn zeroidc_get_auth_url(ptr: *mut ZeroIDC) -> *mut c_char {
|
|||
let idc = unsafe { &mut *ptr };
|
||||
|
||||
let s = CString::new(idc.auth_url()).unwrap();
|
||||
return s.into_raw();
|
||||
s.into_raw()
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue