Correct docs for matrix regarding scalar types

This commit is contained in:
Andrew Cassidy 2023-04-27 00:31:50 -07:00
parent 3989c5a8ec
commit b13fe3dcd2

View File

@ -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