From ee4c6d0ef377f4c49e3953a197c6de4eb9ea9424 Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Tue, 18 Sep 2018 08:35:58 +0300 Subject: [PATCH] Don't #[allow(type_alias_bounds)]. --- src/matrix.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/matrix.rs b/src/matrix.rs index 6dafbad..b5c5548 100644 --- a/src/matrix.rs +++ b/src/matrix.rs @@ -1,4 +1,4 @@ -#![allow(dead_code, type_alias_bounds)] +#![allow(dead_code)] //! Define Matrix calculations. @@ -7,7 +7,7 @@ extern crate num; use vector::scal_vec_prod; -pub type Mat = Vec>; +pub type Mat = Vec>; fn mk_mat(vs: Vec>) -> Option> { let l0 = vs[0].len(); @@ -123,4 +123,4 @@ pub fn mat_prod(m0: &Mat, m1: &Mat) -> Mat { } return rlt; } -} \ No newline at end of file +}