Cleanup rust-analyzer warnings

This commit is contained in:
Grant Limberg 2022-05-12 21:04:16 -07:00
parent da179d9930
commit b329fb68a9
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
3 changed files with 16 additions and 35 deletions

View file

@ -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(