We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 038ce65 commit 6845dc4Copy full SHA for 6845dc4
src/libcore/marker.rs
@@ -654,7 +654,7 @@ unsafe impl<'a, T: ?Sized> Freeze for &'a mut T {}
654
///
655
/// // this is a self referencial struct since the slice field points to the data field.
656
/// // we cannot inform the compiler about that with a normal reference,
657
-/// // since moving the data with it that would violate borrowing rules.
+/// // since this pattern cannot be described with the usual borrowing rules.
658
/// // instead we use a raw pointer, though one which is known to not be null,
659
/// // since we know its pointing at the string.
660
/// struct Unmovable {
0 commit comments