mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Update documentation for to_vec
method to improve clarity
This commit is contained in:
parent
2477b3e8f6
commit
bc5cc65897
@ -76,7 +76,7 @@ impl<T: Clone> Matrix<T> {
|
|||||||
self.data
|
self.data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a new Vec<T> containing the matrix data (cloned).
|
/// Creates a new `Vec<T>` containing the matrix data (cloned).
|
||||||
pub fn to_vec(&self) -> Vec<T> {
|
pub fn to_vec(&self) -> Vec<T> {
|
||||||
self.data.clone()
|
self.data.clone()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user