Add missing `mut`.

Co-authored-by: David Tolnay <dtolnay@gmail.com>
This commit is contained in:
Mara Bos 2020-10-15 21:45:09 +02:00 committed by GitHub
parent f83446b836
commit df95dcebf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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