diff --git a/Cargo.lock b/Cargo.lock index 77576c2..1cb9447 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,5 +3,5 @@ version = 3 [[package]] -name = "matrix-rs" -version = "0.1.0" +name = "matrix" +version = "0.1.3" diff --git a/Cargo.toml b/Cargo.toml index 9fad6ed..b452a95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "matrix-rs" -version = "0.1.0" +name = "matrix" +version = "0.1.3" edition = "2021" authors = ["Zhongheng Liu "] homepage = "https://stvnliu.gitlab.io" diff --git a/src/lib.rs b/src/lib.rs index afe3b75..17d816e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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,