Skip to content

Commit 73236d7

Browse files
committed
doc: Improve deprecation message of free
1 parent 9589ee2 commit 73236d7

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
@@ -46,7 +46,7 @@ pub fn raw<T>(data: T) -> *mut T {
4646

4747
#[deprecated(
4848
since = "0.7.2",
49-
note = "Please use the own_back function instead"
49+
note = "Use `own_back<T>()` instead"
5050
)]
5151
#[allow(missing_docs)]
5252
#[cfg(any(feature = "alloc", feature = "std"))]

0 commit comments

Comments
 (0)