Skip to content

Commit 9bb414f

Browse files
committed
Fix ptr doc warnings.
1 parent ff5b446 commit 9bb414f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/libcore/ptr/const_ptr.rs

-2
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ impl<T: ?Sized> *const T {
316316
/// differently have not been explored. This method should not be used to introduce such
317317
/// differences, and it should also not be stabilized before we have a better understanding
318318
/// of this issue.
319-
/// ```
320319
#[unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
321320
#[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
322321
#[inline]
@@ -349,7 +348,6 @@ impl<T: ?Sized> *const T {
349348
/// differently have not been explored. This method should not be used to introduce such
350349
/// differences, and it should also not be stabilized before we have a better understanding
351350
/// of this issue.
352-
/// ```
353351
#[unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
354352
#[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
355353
#[inline]

src/libcore/ptr/mut_ptr.rs

-2
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ impl<T: ?Sized> *mut T {
294294
/// differently have not been explored. This method should not be used to introduce such
295295
/// differences, and it should also not be stabilized before we have a better understanding
296296
/// of this issue.
297-
/// ```
298297
#[unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
299298
#[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
300299
#[inline]
@@ -327,7 +326,6 @@ impl<T: ?Sized> *mut T {
327326
/// differently have not been explored. This method should not be used to introduce such
328327
/// differences, and it should also not be stabilized before we have a better understanding
329328
/// of this issue.
330-
/// ```
331329
#[unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
332330
#[rustc_const_unstable(feature = "const_raw_ptr_comparison", issue = "53020")]
333331
#[inline]

0 commit comments

Comments
 (0)