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