diff --git a/src/lib.rs b/src/lib.rs index a0ca4a5..6c1ad55 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -44,7 +44,7 @@ //! //! [newt]: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method -#![feature(slicing_syntax, collections, core, hash, std_misc)] +#![feature(collections, core, hash, std_misc)] #![cfg_attr(test, deny(warnings))] #![cfg_attr(test, feature(test))] #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", diff --git a/src/traits.rs b/src/traits.rs index c814b79..23d7f6f 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -283,8 +283,8 @@ bounded_impl!(i16, i16::MIN, i16::MAX); bounded_impl!(i32, i32::MIN, i32::MAX); bounded_impl!(i64, i64::MIN, i64::MAX); -bounded_impl!(f32, f32::MIN_VALUE, f32::MAX_VALUE); -bounded_impl!(f64, f64::MIN_VALUE, f64::MAX_VALUE); +bounded_impl!(f32, f32::MIN, f32::MAX); +bounded_impl!(f64, f64::MIN, f64::MAX); /// Saturating math operations pub trait Saturating {