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 9f437d8 commit 0f3ccf5Copy full SHA for 0f3ccf5
src/lib.rs
@@ -43,6 +43,10 @@ pub fn raw<T>(data: T) -> *mut T {
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"
49
+)]
50
#[cfg(any(feature = "alloc", feature = "std"))]
51
#[inline]
52
pub unsafe fn free<T>(pointer: *mut T) {
0 commit comments