Skip to content

Commit

Permalink
Clarify what "newer versions of Rust" applies to
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower committed Jul 8, 2017
1 parent f0fa65a commit aaa4ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions traits/src/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit aaa4ab3

Please sign in to comment.