derive Default instances

This commit is contained in:
Folkert 2021-12-05 15:13:11 +01:00
parent 009d1c8163
commit 9a74bf1f39
4 changed files with 8 additions and 35 deletions

View file

@ -4,7 +4,7 @@ use crate::markup::nodes::MarkupNode;
pub type MarkNodeId = usize;
#[derive(Debug)]
#[derive(Debug, Default)]
pub struct SlowPool {
nodes: Vec<MarkupNode>,
}
@ -69,9 +69,3 @@ impl fmt::Display for SlowPool {
Ok(())
}
}
impl Default for SlowPool {
fn default() -> Self {
SlowPool { nodes: Vec::new() }
}
}