Skip to content

Commit 5640c13

Browse files
committed
fix: Reference doc comment to right function after previous refactors error
1 parent 0f3ccf5 commit 5640c13

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
@@ -42,7 +42,6 @@ pub fn raw<T>(data: T) -> *mut T {
4242
return Box::into_raw(Box::new(data));
4343
}
4444

45-
/// Opposite of [`raw<T>()`], to use Rust's ownership as usually.
4645
#[deprecated(
4746
since = "0.7.2",
4847
note = "Please use the own_back function instead"
@@ -63,6 +62,7 @@ pub unsafe fn free<T>(pointer: *mut T) {
6362
// We let drop the boxed data.
6463
}
6564

65+
/// Opposite of [`raw<T>()`], to use Rust's ownership as usually.
6666
///
6767
/// # Safety
6868
///

0 commit comments

Comments
 (0)