summaryrefslogtreecommitdiffstats
path: root/library/std/src/f64.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/f64.rs')
-rw-r--r--library/std/src/f64.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/f64.rs b/library/std/src/f64.rs
index 6782b861f..e72de05ca 100644
--- a/library/std/src/f64.rs
+++ b/library/std/src/f64.rs
@@ -530,7 +530,7 @@ impl f64 {
/// The positive difference of two numbers.
///
- /// * If `self <= other`: `0:0`
+ /// * If `self <= other`: `0.0`
/// * Else: `self - other`
///
/// # Examples