From 9f969d348aae9676f7a512df36504826c041449e Mon Sep 17 00:00:00 2001 From: Martin Larralde <martin.larralde@embl.de> Date: Wed, 19 Jun 2024 17:14:09 +0200 Subject: [PATCH] Fix requirement for `Debug` element in `Clone` implementation of `DenseMatrix` --- lightmotif/src/dense.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lightmotif/src/dense.rs b/lightmotif/src/dense.rs index 9ec9c98..6a62e78 100644 --- a/lightmotif/src/dense.rs +++ b/lightmotif/src/dense.rs @@ -203,9 +203,7 @@ impl<T: Default + Copy, C: Unsigned, A: Unsigned + PowerOfTwo> DenseMatrix<T, C, } } -impl<T: Default + Copy + Debug, C: Unsigned, A: Unsigned + PowerOfTwo> Clone - for DenseMatrix<T, C, A> -{ +impl<T: Default + Copy, C: Unsigned, A: Unsigned + PowerOfTwo> Clone for DenseMatrix<T, C, A> { fn clone(&self) -> Self { let mut clone = unsafe { Self::uninitialized(self.rows) }; let l = self.rows() * self.stride(); -- GitLab