mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
derive Default instances
This commit is contained in:
parent
009d1c8163
commit
9a74bf1f39
4 changed files with 8 additions and 35 deletions
|
@ -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() }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue