Skip to content

Commit 33bc6ad

Browse files
author
Christian
committed
Added an example that shows how the remainder function on floating point values is computed internally.
1 parent 6c49da4 commit 33bc6ad

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)