Commit 9a1c7db 1 parent b359fe1 commit 9a1c7db Copy full SHA for 9a1c7db
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -481,7 +481,7 @@ impl<T: ?Sized> Box<T> {
481
481
#[ unstable(
482
482
feature = "ptr_internals" ,
483
483
issue = "none" ,
484
- reason = "use `Box::leak(b).into()` or `NonNull ::from(Box::leak(b))` instead"
484
+ reason = "use `Box::leak(b).into()` or `Unique ::from(Box::leak(b))` instead"
485
485
) ]
486
486
#[ inline]
487
487
#[ doc( hidden) ]
Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ impl<T: ?Sized> Arc<T> {
645
645
/// assert_eq!(deref, "hello");
646
646
/// ```
647
647
#[ unstable( feature = "rc_into_raw_non_null" , issue = "47336" ) ]
648
- #[ rustc_deprecated( since = "1.44.0" , reason = "use `Rc ::into_raw` instead" ) ]
648
+ #[ rustc_deprecated( since = "1.44.0" , reason = "use `Arc ::into_raw` instead" ) ]
649
649
#[ inline]
650
650
pub fn into_raw_non_null ( this : Self ) -> NonNull < T > {
651
651
// safe because Arc guarantees its pointer is non-null
You can’t perform that action at this time.
0 commit comments