From 498fbf51b13d3af325c2f4c546fa4b394d53818f Mon Sep 17 00:00:00 2001 From: lukas Date: Sat, 20 Aug 2022 00:09:12 -0700 Subject: [PATCH] remove unnecessary trait bounds --- nalgebra-sparse/src/coo.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nalgebra-sparse/src/coo.rs b/nalgebra-sparse/src/coo.rs index 1a1720ed..25dc07fb 100644 --- a/nalgebra-sparse/src/coo.rs +++ b/nalgebra-sparse/src/coo.rs @@ -212,10 +212,7 @@ impl CooMatrix { } /// Clear all triplets from the matrix. - pub fn clear_triplets(&mut self) - where - T: PartialEq, - { + pub fn clear_triplets(&mut self) { self.col_indices.clear(); self.row_indices.clear(); self.values.clear();