Skip to content

Commit ba72139

Browse files
authored
Update lib.rs
1 parent 2d768e3 commit ba72139

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
@@ -95,7 +95,7 @@ pub fn raw<T>(data: T) -> *mut T {
9595
#[cfg(any(feature = "alloc", feature = "std"))]
9696
#[inline]
9797
pub unsafe fn free<T>(pointer: *mut T) {
98-
std::mem::drop(own_back(pointer))
98+
std::mem::drop(own_back(pointer));
9999
}
100100

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

0 commit comments

Comments
 (0)