diff --git a/library/core/src/num/f32.rs b/library/core/src/num/f32.rs index 4b4711b2cba6d..c4a232ef36c61 100644 --- a/library/core/src/num/f32.rs +++ b/library/core/src/num/f32.rs @@ -674,7 +674,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 match’s the behavior of libm’s fmin. + /// This matches the behavior of libm’s fmin. /// /// ``` /// let x = 1.0f32; @@ -693,7 +693,7 @@ impl f32 { /// Returns the minimum of the two numbers. /// /// Follows the IEEE-754 2008 semantics for minNum, except for handling of signaling NaNs. - /// This match’s the behavior of libm’s fmin. + /// This matches the behavior of libm’s fmin. /// /// ``` /// let x = 1.0f32; @@ -725,7 +725,7 @@ impl f32 { /// /// If one of the arguments is NaN, then NaN is returned. Otherwise this returns the greater /// of the two numbers. For this operation, -0.0 is considered to be less than +0.0. - /// Note that this follow the semantics specified in IEEE 754-2019. + /// Note that this follows the semantics specified in IEEE 754-2019. #[unstable(feature = "float_minimum_maximum", issue = "91079")] #[inline] pub fn maximum(self, other: f32) -> f32 { @@ -756,7 +756,7 @@ impl f32 { /// /// If one of the arguments is NaN, then NaN is returned. Otherwise this returns the lesser /// of the two numbers. For this operation, -0.0 is considered to be less than +0.0. - /// Note that this follow the semantics specified in IEEE 754-2019. + /// Note that this follows the semantics specified in IEEE 754-2019. #[unstable(feature = "float_minimum_maximum", issue = "91079")] #[inline] pub fn minimum(self, other: f32) -> f32 { diff --git a/library/core/src/num/f64.rs b/library/core/src/num/f64.rs index a1ca09e78f275..85ee6aa2cb8c3 100644 --- a/library/core/src/num/f64.rs +++ b/library/core/src/num/f64.rs @@ -690,7 +690,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 match’s the behavior of libm’s fmin. + /// This matches the behavior of libm’s fmin. /// /// ``` /// let x = 1.0_f64; @@ -709,7 +709,7 @@ impl f64 { /// Returns the minimum of the two numbers. /// /// Follows the IEEE-754 2008 semantics for minNum, except for handling of signaling NaNs. - /// This match’s the behavior of libm’s fmin. + /// This matches the behavior of libm’s fmin. /// /// ``` /// let x = 1.0_f64; @@ -741,7 +741,7 @@ impl f64 { /// /// If one of the arguments is NaN, then NaN is returned. Otherwise this returns the greater /// of the two numbers. For this operation, -0.0 is considered to be less than +0.0. - /// Note that this follow the semantics specified in IEEE 754-2019. + /// Note that this follows the semantics specified in IEEE 754-2019. #[unstable(feature = "float_minimum_maximum", issue = "91079")] #[inline] pub fn maximum(self, other: f64) -> f64 { @@ -772,7 +772,7 @@ impl f64 { /// /// If one of the arguments is NaN, then NaN is returned. Otherwise this returns the lesser /// of the two numbers. For this operation, -0.0 is considered to be less than +0.0. - /// Note that this follow the semantics specified in IEEE 754-2019. + /// Note that this follows the semantics specified in IEEE 754-2019. #[unstable(feature = "float_minimum_maximum", issue = "91079")] #[inline] pub fn minimum(self, other: f64) -> f64 {