Clarify what "newer versions of Rust" applies to

This commit is contained in:
Lee Bousfield 2017-07-08 17:21:32 -04:00
parent f0fa65a9d5
commit aaa4ab357f
No known key found for this signature in database
GPG Key ID: C41F6504C1164209
1 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ pub trait Float
fn signum(self) -> Self;
/// Returns `true` if `self` is positive, including `+0.0`,
/// `Float::infinity()`, and `f64::NAN` with newer versions of Rust.
/// `Float::infinity()`, and with newer versions of Rust `f64::NAN`.
///
/// ```
/// use num_traits::Float;
@ -342,7 +342,7 @@ pub trait Float
fn is_sign_positive(self) -> bool;
/// Returns `true` if `self` is negative, including `-0.0`,
/// `Float::neg_infinity()`, and `-f64::NAN` with newer versions of Rust.
/// `Float::neg_infinity()`, and with newer versions of Rust `-f64::NAN`.
///
/// ```
/// use num_traits::Float;