From 2e980a78fad0e2401e5a4e42d0e76d298a8998d2 Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Sun, 11 May 2025 00:46:46 +0100 Subject: [PATCH] Update documentation for Matrix struct to clarify indexing method --- src/matrix/mat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/mat.rs b/src/matrix/mat.rs index 180650a..18eb804 100644 --- a/src/matrix/mat.rs +++ b/src/matrix/mat.rs @@ -2,7 +2,7 @@ use std::ops::{Add, BitAnd, BitOr, BitXor, Div, Index, IndexMut, Mul, Not, Sub}; -/// A column‑major 2D matrix of `T` +/// A column‑major 2D matrix of `T`. Index as `Array(row, column)`. #[derive(Debug, Clone, PartialEq, Eq)] pub struct Matrix { rows: usize,