We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12eebcf commit 068a97eCopy full SHA for 068a97e
1 file changed
cubeb-backend/src/capi.rs
@@ -198,7 +198,7 @@ pub unsafe extern "C" fn capi_device_collection_destroy<CTX: ContextOps>(
198
let ctx = &mut *(c as *mut CTX);
199
let collection = &mut *(collection);
200
201
- let coll = Box::from_raw(std::slice::from_raw_parts_mut(
+ let coll = Box::from_raw(std::ptr::slice_from_raw_parts_mut(
202
collection.device as *mut DeviceInfo,
203
collection.count,
204
));
0 commit comments