From f4edac230eb91c233479c3aafb84ee75d86f341d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Autin?= Date: Wed, 8 Mar 2023 15:49:31 +0100 Subject: [PATCH] Added partialeq trait to Node --- src/utility/list.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utility/list.rs b/src/utility/list.rs index 024606c..f6efb50 100644 --- a/src/utility/list.rs +++ b/src/utility/list.rs @@ -6,6 +6,7 @@ pub struct List { type Link = Option>>; +#[derive(PartialEq)] struct Node { elem: T, next: Link,