Skip to content

Commit

Permalink
Replace macro_use of izip with normal use
Browse files Browse the repository at this point in the history
  • Loading branch information
jturner314 committed Oct 26, 2018
1 parent fafed5b commit 756258d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dimension/dimension_trait.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::fmt::Debug;
use std::ops::{Index, IndexMut};
use std::ops::{Add, Sub, Mul, AddAssign, SubAssign, MulAssign};

use itertools::{enumerate, zip};
use itertools::{enumerate, izip, zip};

use {Ix, Ixs, Ix0, Ix1, Ix2, Ix3, Ix4, Ix5, Ix6, IxDyn, Dim, SliceOrIndex, IxDynImpl};
use IntoDimension;
Expand Down
1 change: 1 addition & 0 deletions src/dimension/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

use {Ix, Ixs};
use error::{from_kind, ErrorKind, ShapeError};
use itertools::izip;

pub use self::dim::*;
pub use self::axis::Axis;
Expand Down
2 changes: 1 addition & 1 deletion src/impl_methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::cmp;
use std::ptr as std_ptr;
use std::slice;

use itertools::zip;
use itertools::{izip, zip};

use imp_prelude::*;

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ extern crate blas_src;

extern crate matrixmultiply;

#[macro_use(izip)] extern crate itertools;
extern crate itertools;
extern crate num_traits as libnum;
extern crate num_complex;

Expand Down

0 comments on commit 756258d

Please sign in to comment.