From e94061ed101f7d6fbcd3ab2cab7afbfbfac3ec50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sun, 4 Jan 2015 19:43:04 +0100 Subject: [PATCH] Fix an unconstrained type in `na::shape`. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 0a88cfea..544586b0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -911,7 +911,7 @@ pub fn dim() -> uint { /// Gets the indexable range of an object. #[inline(always)] -pub fn shape, I, N>(v: &V) -> I { +pub fn shape, I>(v: &V) -> I { v.shape() }