Default
for Trees
This commit is contained in:
parent
5b3eda0ac8
commit
d61d70b996
@ -70,6 +70,12 @@ impl<A> Trees<A> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<A> Default for Trees<A> {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl<A> Clone for Trees<A> {
|
||||
fn clone(&self) -> Self {
|
||||
Self::new()
|
||||
|
Loading…
Reference in New Issue
Block a user