Rollup merge of #93026 - klensy:f-typo, r=scottmcm

fix typo in `max` description for f32/f64
This commit is contained in:
Matthias Krüger 2022-01-18 22:00:51 +01:00 committed by GitHub
commit 63376bb0fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -675,7 +675,7 @@ impl f32 {
/// Returns the maximum of the two numbers.
///
/// Follows the IEEE-754 2008 semantics for maxNum, except for handling of signaling NaNs.
/// This matches the behavior of libms fmin.
/// This matches the behavior of libms fmax.
///
/// ```
/// let x = 1.0f32;

View file

@ -691,7 +691,7 @@ impl f64 {
/// Returns the maximum of the two numbers.
///
/// Follows the IEEE-754 2008 semantics for maxNum, except for handling of signaling NaNs.
/// This matches the behavior of libms fmin.
/// This matches the behavior of libms fmax.
///
/// ```
/// let x = 1.0_f64;