diff --git a/src/structs/dmat.rs b/src/structs/dmat.rs index 6046bb79..de452f6e 100644 --- a/src/structs/dmat.rs +++ b/src/structs/dmat.rs @@ -12,7 +12,7 @@ use std::mem; use structs::dvec::DVec; use traits::operations::{Inv, Transpose, Mean, Cov}; use traits::structure::{Cast, ColSlice, RowSlice, Diag, Eye, Indexable, Shape, Zero, One, BaseNum}; -use std::fmt::{Show, Debug, Formatter, Result, String}; +use std::fmt::{Debug, Display, Formatter, Result}; #[cfg(feature="arbitrary")] use quickcheck::{Arbitrary, Gen}; @@ -634,7 +634,7 @@ impl> ApproxEq for DMat { } } -impl Debug for DMat { +impl Debug for DMat { fn fmt(&self, form:&mut Formatter) -> Result { for i in (0us .. self.nrows()) { for j in (0us .. self.ncols()) {