Rollup merge of #112497 - icecream17:patch-1, r=Mark-Simulacrum

abs_sub: fix typo 0[-:][+.]0
This commit is contained in:
Matthias Krüger 2023-06-11 01:57:28 +02:00 committed by GitHub
commit 0ff35f27b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -528,7 +528,7 @@ pub fn log10(self) -> f32 {
/// The positive difference of two numbers.
///
/// * If `self <= other`: `0:0`
/// * If `self <= other`: `0.0`
/// * Else: `self - other`
///
/// # Examples

View File

@ -530,7 +530,7 @@ pub fn log10(self) -> f64 {
/// The positive difference of two numbers.
///
/// * If `self <= other`: `0:0`
/// * If `self <= other`: `0.0`
/// * Else: `self - other`
///
/// # Examples