From 9b1dfa905043f116e25adad4e618bf92f760e6b1 Mon Sep 17 00:00:00 2001 From: jmole Date: Fri, 3 May 2024 17:39:55 -0700 Subject: [PATCH] Update lib.rs Add partialEq as trait bound for T --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e527fba..3bf493c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1574,7 +1574,7 @@ impl fmt::Debug for Grid { } } -impl PartialEq for Grid { +impl PartialEq for Grid { fn eq(&self, other: &Self) -> bool { if self.rows != other.rows || self.cols != other.cols { return false;