Skip to content

Commit d8b1d51

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

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
@@ -517,15 +517,15 @@ macro_rules! unreachable {
517517
/// This allows your code to type-check, which is useful if you are prototyping or
518518
/// implementing a trait that requires multiple methods which you don't plan of using all of.
519519
///
520-
/// The difference between `unimplemented!` and [`todo!`](macro.todo.html) is that while `todo!`
520+
/// The difference between `unimplemented!` and [`todo!`] is that while `todo!`
521521
/// conveys an intent of implementing the functionality later and the message is "not yet
522522
/// implemented", `unimplemented!` makes no such claims. Its message is "not implemented".
523523
/// Also some IDEs will mark `todo!`s.
524524
///
525525
/// # Panics
526526
///
527-
/// This will always [panic!](macro.panic.html) because `unimplemented!` is just a
528-
/// shorthand for `panic!` with a fixed, specific message.
527+
/// This will always [`panic!`] because `unimplemented!` is just a shorthand for `panic!` with a
528+
/// fixed, specific message.
529529
///
530530
/// Like `panic!`, this macro has a second form for displaying custom values.
531531
///
@@ -602,7 +602,7 @@ macro_rules! unimplemented {
602602
///
603603
/// # Panics
604604
///
605-
/// This will always [panic!](macro.panic.html)
605+
/// This will always [`panic!`].
606606
///
607607
/// # Examples
608608
///

0 commit comments

Comments
 (0)