From 68bdb427cf38091f6cb53814f1ae436d7f15d542 Mon Sep 17 00:00:00 2001 From: Jack Wrenn Date: Wed, 7 Nov 2018 18:03:12 -0500 Subject: [PATCH] Rename: `from_vec` -> `from_vec_generic` --- src/base/construction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/construction.rs b/src/base/construction.rs index 9c10fbe5..85469fff 100644 --- a/src/base/construction.rs +++ b/src/base/construction.rs @@ -261,7 +261,7 @@ where DefaultAllocator: Allocator /// Creates a matrix backed by a given vector. #[inline] #[cfg(feature = "std")] - pub fn from_vec(nrows: R, ncols: C, data: Vec) -> Self { + pub fn from_vec_generic(nrows: R, ncols: C, data: Vec) -> Self { Self::from_iterator_generic(nrows, ncols, data) } }