Change the trivial cast lints to allow by default

This commit is contained in:
Nick Cameron 2015-03-27 18:41:18 +13:00
parent 199bdcfeff
commit a67faf1b25
25 changed files with 8 additions and 32 deletions

View file

@ -10,8 +10,6 @@
//! Generating numbers between two others.
#![allow(trivial_numeric_casts)]
// this is surprisingly complicated to be both generic & correct
use core::prelude::{PartialOrd};

View file

@ -447,7 +447,6 @@ impl Rng for Isaac64Rng {
#[inline]
fn next_u64(&mut self) -> u64 {
#![allow(trivial_numeric_casts)]
if self.cnt == 0 {
// make some more numbers
self.isaac64();