diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-08-03 16:40:51 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-08-05 14:45:32 +0200 |
commit | f88302ebf3844662a36793ba352d0e5414e246c6 (patch) | |
tree | 2057b0f36f843e3cfc1437f9b5a78ef641193e74 /components/range | |
parent | 1086df67e04ce97fed080ba7c79ed8e1615202eb (diff) | |
download | servo-f88302ebf3844662a36793ba352d0e5414e246c6.tar.gz servo-f88302ebf3844662a36793ba352d0e5414e246c6.zip |
Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04)
Diffstat (limited to 'components/range')
-rw-r--r-- | components/range/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/range/lib.rs b/components/range/lib.rs index d32909c0808..467797556a8 100644 --- a/components/range/lib.rs +++ b/components/range/lib.rs @@ -5,7 +5,6 @@ #![feature(custom_derive)] #![feature(plugin)] #![feature(step_trait)] -#![feature(zero_one)] #![plugin(heapsize_plugin)] #![plugin(serde_macros)] @@ -21,7 +20,6 @@ use std::cmp::{self, max, min}; use std::fmt; use std::iter; use std::marker::PhantomData; -use std::num; use std::ops; pub trait Int: @@ -173,7 +171,7 @@ pub fn each_index<T: Int, I: RangeIndex<Index=T>>(start: I, stop: I) -> EachInde } impl<T: Int, I: RangeIndex<Index=T>> Iterator for EachIndex<T, I> -where T: Int + num::One + iter::Step, for<'a> &'a T: ops::Add<&'a T, Output = T> { +where T: Int + iter::Step, for<'a> &'a T: ops::Add<&'a T, Output = T> { type Item = I; #[inline] |