We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mut
1 parent f83446b commit df95dceCopy full SHA for df95dce
library/core/src/pin.rs
@@ -795,7 +795,7 @@ impl<T: ?Sized> Pin<&'static T> {
795
}
796
797
798
-impl<T: ?Sized> Pin<&'static T> {
+impl<T: ?Sized> Pin<&'static mut T> {
799
/// Get a pinned mutable reference from a static mutable reference.
800
///
801
/// This is safe, because `T` is borrowed for the `'static` lifetime, which
0 commit comments