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() }