diff options
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | Cargo.toml | 4 | ||||
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | src/types/matrix.rs | 4 |
4 files changed, 8 insertions, 6 deletions
@@ -3,5 +3,5 @@ version = 3 [[package]] -name = "matrix-rs" -version = "0.1.0" +name = "matrix" +version = "0.1.3" @@ -1,6 +1,6 @@ [package] -name = "matrix-rs" -version = "0.1.0" +name = "matrix" +version = "0.1.3" edition = "2021" authors = ["Zhongheng Liu <z.liu@outlook.com.gr>"] homepage = "https://stvnliu.gitlab.io" @@ -1,4 +1,4 @@ -mod types; +pub mod types; #[cfg(test)] mod tests; diff --git a/src/types/matrix.rs b/src/types/matrix.rs index eb0801a..2973ce1 100644 --- a/src/types/matrix.rs +++ b/src/types/matrix.rs @@ -1,7 +1,9 @@ use std::{fmt::Display, ops::Add, str::FromStr}; use super::matrix_err::{MatrixSetValueError, ParseMatrixError}; -/// Matrix +/// A Matrix struct +/// +/// #[derive(Debug, PartialEq, Eq)] pub struct Matrix { pub nrows: usize, |