Fixing still...

This commit is contained in:
YakoYakoYokuYoku 2019-02-21 16:27:56 -03:00 committed by GitHub
parent 76bd3b8d32
commit 3da62c38dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -895,7 +895,7 @@ impl FloatCore for f64 {
///
/// This trait is only available with the `std` feature.
#[cfg(feature = "std")]
pub trait Float where Self: Num + Copy + NumCast + Neg<Output = Self> + PartialOrd {
pub trait Float: Num + Copy + NumCast + Neg<Output = Self> + PartialOrd {
/// Returns the `NaN` value.
///
/// ```
@ -1881,7 +1881,7 @@ macro_rules! float_impl {
}
#[cfg(feature = "std")]
pub trait CommonFloat where Self: Num + Copy + NumCast + Neg<Output = Self> {
pub trait CommonFloat: Num + Copy + NumCast + Neg<Output = Self> {
type Typo;
/// Returns `true` if this value is `NaN` and false otherwise.