mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 22:46:14 +01:00
Clean Rust 1.90 clippy warnings
This commit is contained in:
@@ -199,7 +199,7 @@ pub unsafe extern "C" fn misagent_free_profiles(
|
||||
|
||||
for (ptr, len) in profiles.iter_mut().zip(lens.iter()) {
|
||||
if !ptr.is_null() {
|
||||
let _ = unsafe { Box::from_raw(std::slice::from_raw_parts_mut(*ptr, *len)) };
|
||||
let _ = unsafe { Box::from_raw(std::ptr::slice_from_raw_parts_mut(*ptr, *len)) };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user