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 244f2a3 commit b869555Copy full SHA for b869555
src/lib.rs
@@ -66,9 +66,7 @@ pub unsafe fn free<T>(pointer: *mut T) {
66
///
67
/// # Safety
68
69
-/// The pointer must be a valid reference and never call it twice or behavior is undefined.
70
-///
71
-/// That could produce a HEAP error that produce a crash.
+/// Invalid pointer or call it twice could cause an undefined behavior or heap error and a crash.
72
#[doc(alias = "free")]
73
#[cfg(any(feature = "alloc", feature = "std"))]
74
#[inline]
0 commit comments