Minor changes to silence warnings.

This commit is contained in:
Sam Payson 2015-02-18 16:39:32 -08:00
parent e2f0b0d327
commit 609c2e6ef0
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
#![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",

View File

@ -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 {