about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2020-06-23 16:25:01 -0700
committerEric Huss <eric@huss.org>2020-06-23 16:25:01 -0700
commit9bb414faffbb5e31ecc41edb78e0047b0b8b1221 (patch)
treebe4cd7947809e005aafb8cf72f0ec8ffe8664cb8 /src/libcore
parentff5b446d2fdbd898bc97a751f2f72858de185cf1 (diff)
downloadrust-9bb414faffbb5e31ecc41edb78e0047b0b8b1221.tar.gz
rust-9bb414faffbb5e31ecc41edb78e0047b0b8b1221.zip
Fix ptr doc warnings.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ptr/const_ptr.rs2
-rw-r--r--src/libcore/ptr/mut_ptr.rs2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/libcore/ptr/const_ptr.rs b/src/libcore/ptr/const_ptr.rs
index 395b3879cfd..64a506a6377 100644
--- a/src/libcore/ptr/const_ptr.rs
+++ b/src/libcore/ptr/const_ptr.rs
@@ -316,7 +316,6 @@ impl<T: ?Sized> *const T {
     /// differently have not been explored. This method should not be used to introduce such
     /// differences, and it should also not be stabilized before we have a better understanding
     /// of this issue.
-    /// ```
     #[unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
     #[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
     #[inline]
@@ -349,7 +348,6 @@ impl<T: ?Sized> *const T {
     /// differently have not been explored. This method should not be used to introduce such
     /// differences, and it should also not be stabilized before we have a better understanding
     /// of this issue.
-    /// ```
     #[unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
     #[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
     #[inline]
diff --git a/src/libcore/ptr/mut_ptr.rs b/src/libcore/ptr/mut_ptr.rs
index b86ef5b13b3..6b5cd9fdb85 100644
--- a/src/libcore/ptr/mut_ptr.rs
+++ b/src/libcore/ptr/mut_ptr.rs
@@ -294,7 +294,6 @@ impl<T: ?Sized> *mut T {
     /// differently have not been explored. This method should not be used to introduce such
     /// differences, and it should also not be stabilized before we have a better understanding
     /// of this issue.
-    /// ```
     #[unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
     #[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
     #[inline]
@@ -327,7 +326,6 @@ impl<T: ?Sized> *mut T {
     /// differently have not been explored. This method should not be used to introduce such
     /// differences, and it should also not be stabilized before we have a better understanding
     /// of this issue.
-    /// ```
     #[unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
     #[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
     #[inline]