From 59d4b336918b89f7683feb75b465b84ab3662a3d Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Mon, 5 Nov 2012 11:58:08 +1000 Subject: [PATCH] Remove superfluous type parameters --- src/test/test_matrix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/test_matrix.rs b/src/test/test_matrix.rs index 38bdacc..cc7142e 100644 --- a/src/test/test_matrix.rs +++ b/src/test/test_matrix.rs @@ -18,8 +18,8 @@ fn test_Mat2() { assert a == Mat2::from_cols(Vec2::new(1f, 3f), Vec2::new(2f, 4f)); - assert Mat2::from_value::(4f64) == Mat2::new::(4f64, 0f64, - 0f64, 4f64); + assert Mat2::from_value(4f64) == Mat2::new(4f64, 0f64, + 0f64, 4f64); assert a[0] == Vec2::new(1f, 3f); assert a[1] == Vec2::new(2f, 4f);