Rollup merge of #112497 - icecream17:patch-1, r=Mark-Simulacrum
abs_sub: fix typo 0[-:][+.]0
This commit is contained in:
commit
0ff35f27b0
@ -528,7 +528,7 @@ impl f32 {
|
|||||||
|
|
||||||
/// The positive difference of two numbers.
|
/// The positive difference of two numbers.
|
||||||
///
|
///
|
||||||
/// * If `self <= other`: `0:0`
|
/// * If `self <= other`: `0.0`
|
||||||
/// * Else: `self - other`
|
/// * Else: `self - other`
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
@ -530,7 +530,7 @@ impl f64 {
|
|||||||
|
|
||||||
/// The positive difference of two numbers.
|
/// The positive difference of two numbers.
|
||||||
///
|
///
|
||||||
/// * If `self <= other`: `0:0`
|
/// * If `self <= other`: `0.0`
|
||||||
/// * Else: `self - other`
|
/// * Else: `self - other`
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
Loading…
x
Reference in New Issue
Block a user