diff options
| author | Eric Huss <eric@huss.org> | 2020-06-23 16:25:01 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2020-06-23 16:25:01 -0700 |
| commit | 9bb414faffbb5e31ecc41edb78e0047b0b8b1221 (patch) | |
| tree | be4cd7947809e005aafb8cf72f0ec8ffe8664cb8 /src/libcore | |
| parent | ff5b446d2fdbd898bc97a751f2f72858de185cf1 (diff) | |
| download | rust-9bb414faffbb5e31ecc41edb78e0047b0b8b1221.tar.gz rust-9bb414faffbb5e31ecc41edb78e0047b0b8b1221.zip | |
Fix ptr doc warnings.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/ptr/const_ptr.rs | 2 | ||||
| -rw-r--r-- | src/libcore/ptr/mut_ptr.rs | 2 |
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] |
