Correct docs for matrix regarding scalar types

master
Andrew Cassidy 1 year ago
parent 3989c5a8ec
commit b13fe3dcd2

@ -11,8 +11,7 @@ use std::ops::{Add, AddAssign, Deref, DerefMut, Index, IndexMut, Mul, MulAssign,
/// A 2D array of values which can be operated upon.
///
/// Matrices have a fixed size known at compile time, and must be made up of types that implement
/// the [Scalar] trait.
/// Matrices have a fixed size known at compile time
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct Matrix<T, const M: usize, const N: usize>
where

Loading…
Cancel
Save