about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorChristian <chris_veenman@hotmail.com>2019-03-30 14:26:54 +0100
committerChristian <chris_veenman@hotmail.com>2019-03-30 14:26:54 +0100
commit33bc6ad8c008555602fbbdf6907deff6fe729a25 (patch)
tree06a1d36263598031baaa89f5ad5e1ee4baa87eb7 /src/libstd
parent6c49da45441d29aadd5935dabbaa8dc09ebad33a (diff)
downloadrust-33bc6ad8c008555602fbbdf6907deff6fe729a25.tar.gz
rust-33bc6ad8c008555602fbbdf6907deff6fe729a25.zip
Added an example that shows how the remainder function on floating point values is computed internally.
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..209d3210f8f 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 {