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 81a5161 commit 847baf2Copy full SHA for 847baf2
src/lib.rs
@@ -49,7 +49,7 @@ pub fn raw<T>(data: T) -> *mut T {
49
#[cfg(any(feature = "alloc", feature = "std"))]
50
#[inline]
51
pub unsafe fn free<T>(pointer: *mut T) {
52
- let _ = own_back(pointer); // Ignore the must use lint as previous behavior was ignore null pointers
+ let _ = own_back(pointer); // Ignore the must use lint as previous behavior was ignore null pointers
53
}
54
55
/// Opposite of [`raw<T>()`], to use Rust's ownership as usually.
0 commit comments