mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Link to correct as_mut
in docs for pointer::as_ref
It previously linked to the unstable const-mut-cast method instead of the `mut` counterpart for `as_ref`.
This commit is contained in:
parent
09064a21b0
commit
521bb810be
@ -287,7 +287,7 @@ impl<T: ?Sized> *mut T {
|
||||
/// For the mutable counterpart see [`as_mut`].
|
||||
///
|
||||
/// [`as_uninit_ref`]: #method.as_uninit_ref-1
|
||||
/// [`as_mut`]: #method.as_mut
|
||||
/// [`as_mut`]: #method.as_mut-1
|
||||
///
|
||||
/// # Safety
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user