Rename: `from_vec` -> `from_vec_generic`

This commit is contained in:
Jack Wrenn 2018-11-07 18:03:12 -05:00 committed by Sébastien Crozet
parent ff4e44a8ed
commit 68bdb427cf
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ where DefaultAllocator: Allocator<N, R, C>
/// Creates a matrix backed by a given vector.
#[inline]
#[cfg(feature = "std")]
pub fn from_vec(nrows: R, ncols: C, data: Vec<N>) -> Self {
pub fn from_vec_generic(nrows: R, ncols: C, data: Vec<N>) -> Self {
Self::from_iterator_generic(nrows, ncols, data)
}
}