Skip to content

Commit

Permalink
Make 'iter' subcrate #![no_std]
Browse files Browse the repository at this point in the history
  • Loading branch information
jswrenn committed Nov 1, 2016
1 parent e532d0b commit fb559b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@

//! External iterators for generic mathematics

#![no_std]

extern crate num_traits as traits;
extern crate num_integer as integer;

use integer::Integer;
use traits::{Zero, One, CheckedAdd, ToPrimitive};
use std::ops::{Add, Sub};
use core::ops::{Add, Sub};

/// An iterator over the range [start, stop)
#[derive(Clone)]
Expand Down

0 comments on commit fb559b1

Please sign in to comment.