Skip to content

Commit 847baf2

Browse files
committed
refactor: Changes done by cargo fmt
1 parent 81a5161 commit 847baf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub fn raw<T>(data: T) -> *mut T {
4949
#[cfg(any(feature = "alloc", feature = "std"))]
5050
#[inline]
5151
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
52+
let _ = own_back(pointer); // Ignore the must use lint as previous behavior was ignore null pointers
5353
}
5454

5555
/// Opposite of [`raw<T>()`], to use Rust's ownership as usually.

0 commit comments

Comments
 (0)