mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
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.
|
||||
///
|
||||
/// This is safe, because `T` is borrowed for the `'static` lifetime, which
|
||||
|
Loading…
Reference in New Issue
Block a user