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.
1 parent d884e9b commit 969c3dfCopy full SHA for 969c3df
library/core/src/pin.rs
@@ -1831,9 +1831,10 @@ where
1831
///
1832
/// # Safety
1833
1834
-/// If this type implements `Deref`, then the concrete type returned by `deref`
1835
-/// and `deref_mut` must not change without a modification. The following
1836
-/// operations are not considered modifications:
+/// Given a pointer of this type, the concrete type returned by its
+/// `deref` method and (if it implements `DerefMut`) its `deref_mut` method
+/// must be the same type and must not change without a modification.
1837
+/// The following operations are not considered modifications:
1838
1839
/// * Moving the pointer.
1840
/// * Performing unsizing coercions on the pointer.
0 commit comments