Add missing `mut`.
Co-authored-by: David Tolnay <dtolnay@gmail.com>
This commit is contained in:
parent
f83446b836
commit
df95dcebf5
|
@ -795,7 +795,7 @@ impl<T: ?Sized> Pin<&'static T> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T: ?Sized> Pin<&'static T> {
|
impl<T: ?Sized> Pin<&'static mut T> {
|
||||||
/// Get a pinned mutable reference from a static mutable reference.
|
/// Get a pinned mutable reference from a static mutable reference.
|
||||||
///
|
///
|
||||||
/// This is safe, because `T` is borrowed for the `'static` lifetime, which
|
/// This is safe, because `T` is borrowed for the `'static` lifetime, which
|
||||||
|
|
Loading…
Reference in New Issue