We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a4bb0 commit 0cc2983Copy full SHA for 0cc2983
rust/src/custom_binary_view.rs
@@ -280,7 +280,7 @@ pub trait BinaryViewTypeExt: BinaryViewTypeBase {
280
let bv = unsafe { BinaryView::from_raw(bv).to_owned() };
281
let metadata = unsafe { Metadata::from_raw(metadata).to_owned() };
282
match (context.recognizer)(&bv, &metadata) {
283
- Some(plat) => plat.handle,
+ Some(plat) => unsafe { Ref::into_raw(plat).handle },
284
None => std::ptr::null_mut(),
285
}
286
0 commit comments