This commit is contained in:
Huon Wilson 2015-02-19 12:46:57 +11:00
commit 6adaa4de8f
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
//! //!
//! [newt]: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method //! [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, deny(warnings))]
#![cfg_attr(test, feature(test))] #![cfg_attr(test, feature(test))]
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",

View File

@ -283,8 +283,8 @@ bounded_impl!(i16, i16::MIN, i16::MAX);
bounded_impl!(i32, i32::MIN, i32::MAX); bounded_impl!(i32, i32::MIN, i32::MAX);
bounded_impl!(i64, i64::MIN, i64::MAX); bounded_impl!(i64, i64::MIN, i64::MAX);
bounded_impl!(f32, f32::MIN_VALUE, f32::MAX_VALUE); bounded_impl!(f32, f32::MIN, f32::MAX);
bounded_impl!(f64, f64::MIN_VALUE, f64::MAX_VALUE); bounded_impl!(f64, f64::MIN, f64::MAX);
/// Saturating math operations /// Saturating math operations
pub trait Saturating { pub trait Saturating {