Added partialeq trait to List struct
This commit is contained in:
parent
a11ca01368
commit
7520fd4458
@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
#[derive(PartialEq)]
|
||||||
pub struct List<T: PartialEq> {
|
pub struct List<T: PartialEq> {
|
||||||
head: Link<T>,
|
head: Link<T>,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user