Skip to content

Commit 5c87941

Browse files
committed
Clean up core macros documentation
* Switch a couple links over to intra-doc links * Clean up some formatting/typography
1 parent 93ca9ae commit 5c87941

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/core/src/macros/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,15 +515,15 @@ macro_rules! unreachable {
515515
/// This allows your code to type-check, which is useful if you are prototyping or
516516
/// implementing a trait that requires multiple methods which you don't plan of using all of.
517517
///
518-
/// The difference between `unimplemented!` and [`todo!`](macro.todo.html) is that while `todo!`
518+
/// The difference between `unimplemented!` and [`todo!`] is that while `todo!`
519519
/// conveys an intent of implementing the functionality later and the message is "not yet
520520
/// implemented", `unimplemented!` makes no such claims. Its message is "not implemented".
521521
/// Also some IDEs will mark `todo!`s.
522522
///
523523
/// # Panics
524524
///
525-
/// This will always [panic!](macro.panic.html) because `unimplemented!` is just a
526-
/// shorthand for `panic!` with a fixed, specific message.
525+
/// This will always [`panic!`] because `unimplemented!` is just a shorthand for `panic!` with a
526+
/// fixed, specific message.
527527
///
528528
/// Like `panic!`, this macro has a second form for displaying custom values.
529529
///
@@ -600,7 +600,7 @@ macro_rules! unimplemented {
600600
///
601601
/// # Panics
602602
///
603-
/// This will always [panic!](macro.panic.html)
603+
/// This will always [`panic!`].
604604
///
605605
/// # Examples
606606
///

0 commit comments

Comments
 (0)