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 0f3ccf5 commit 5640c13Copy full SHA for 5640c13
src/lib.rs
@@ -42,7 +42,6 @@ pub fn raw<T>(data: T) -> *mut T {
42
return Box::into_raw(Box::new(data));
43
}
44
45
-/// Opposite of [`raw<T>()`], to use Rust's ownership as usually.
46
#[deprecated(
47
since = "0.7.2",
48
note = "Please use the own_back function instead"
@@ -63,6 +62,7 @@ pub unsafe fn free<T>(pointer: *mut T) {
63
62
// We let drop the boxed data.
64
65
+/// Opposite of [`raw<T>()`], to use Rust's ownership as usually.
66
///
67
/// # Safety
68
0 commit comments