about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-30 23:14:42 +0100
committerGitHub <noreply@github.com>2019-03-30 23:14:42 +0100
commitc6f0ad1719963d3d377fe8683d7b86d5e54048b7 (patch)
treeb4089d170e81101aaf7fca4c73249a0c0d32a534 /src/libstd
parent8a19973eed133bc5662d918a61a0b455476c4816 (diff)
parent66e920ea5ca844267d946569fca82b7885904c22 (diff)
downloadrust-c6f0ad1719963d3d377fe8683d7b86d5e54048b7.tar.gz
rust-c6f0ad1719963d3d377fe8683d7b86d5e54048b7.zip
Rollup merge of #59562 - DevQps:dbg-macro-docs, r=Centril
Changed reference style in dbg macro docs.

# Description

A continuation of Pull Request #59528 :
- Fixed method of referencing and adjusted the references as suggested by @lzutao
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/macros.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs
index 0e0292277e1..be4db1f737d 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -240,7 +240,7 @@ macro_rules! eprintln {
 /// Note that the macro is intended as a debugging tool and therefore you
 /// should avoid having uses of it in version control for longer periods.
 /// Use cases involving debug output that should be added to version control
-/// are better served by macros such as [`debug!`][debug-log] from the [`log`][log] crate.
+/// are better served by macros such as [`debug!`] from the [`log`] crate.
 ///
 /// # Stability
 ///
@@ -315,8 +315,8 @@ macro_rules! eprintln {
 /// file and line whenever it's reached.
 ///
 /// [stderr]: https://en.wikipedia.org/wiki/Standard_streams#Standard_error_(stderr)
-/// [debug-log]: https://docs.rs/log/*/log/macro.debug.html
-/// [log]: https://docs.rs/log/
+/// [`debug!`]: https://docs.rs/log/*/log/macro.debug.html
+/// [`log`]: https://crates.io/crates/log
 #[macro_export]
 #[stable(feature = "dbg_macro", since = "1.32.0")]
 macro_rules! dbg {