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

View File

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