Skip to content

Commit 50dc303

Browse files
authored
Rollup merge of rust-lang#59562 - DevQps:dbg-macro-docs, r=Centril
Changed reference style in dbg macro docs. # Description A continuation of Pull Request rust-lang#59528 : - Fixed method of referencing and adjusted the references as suggested by @lzutao
2 parents bfa5eb2 + 66e920e commit 50dc303

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstd/macros.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ macro_rules! eprintln {
240240
/// Note that the macro is intended as a debugging tool and therefore you
241241
/// should avoid having uses of it in version control for longer periods.
242242
/// Use cases involving debug output that should be added to version control
243-
/// are better served by macros such as [`debug!`][debug-log] from the [`log`][log] crate.
243+
/// are better served by macros such as [`debug!`] from the [`log`] crate.
244244
///
245245
/// # Stability
246246
///
@@ -315,8 +315,8 @@ macro_rules! eprintln {
315315
/// file and line whenever it's reached.
316316
///
317317
/// [stderr]: https://en.wikipedia.org/wiki/Standard_streams#Standard_error_(stderr)
318-
/// [debug-log]: https://docs.rs/log/*/log/macro.debug.html
319-
/// [log]: https://docs.rs/log/
318+
/// [`debug!`]: https://docs.rs/log/*/log/macro.debug.html
319+
/// [`log`]: https://crates.io/crates/log
320320
#[macro_export]
321321
#[stable(feature = "dbg_macro", since = "1.32.0")]
322322
macro_rules! dbg {

0 commit comments

Comments
 (0)