Added partialeq trait to List struct

This commit is contained in:
François Autin 2023-03-08 15:48:03 +01:00
parent b59fb83e60
commit 6b95969c4b
No known key found for this signature in database
GPG Key ID: 343F5D382E1DD77C

View File

@ -1,4 +1,5 @@
#[derive(PartialEq)]
pub struct List<T: PartialEq> {
head: Link<T>,
}