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 f9f24ee commit 6848340Copy full SHA for 6848340
src/traits/boxed.rs
@@ -14,6 +14,7 @@ pub trait Boxed: Sized {
14
///
15
/// This will *not* free object referenced by this pointer, so you can use this pointer indefinitely. Be sure
16
/// to free it (by e.g. calling `from_raw()` with the same wrapper type) to avoid leaking memory.
17
+ #[must_use]
18
fn into_raw(self) -> *mut c_void;
19
20
/// Return the underlying raw pointer.
0 commit comments