mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
clippy fixes, fmt
This commit is contained in:
parent
4c2de0215a
commit
95a30210ce
44 changed files with 100 additions and 98 deletions
|
@ -10,10 +10,6 @@ pub struct SlowPool {
|
|||
}
|
||||
|
||||
impl SlowPool {
|
||||
pub fn new() -> SlowPool {
|
||||
SlowPool { nodes: Vec::new() }
|
||||
}
|
||||
|
||||
pub fn add(&mut self, node: MarkupNode) -> MarkNodeId {
|
||||
let id = self.nodes.len();
|
||||
|
||||
|
@ -73,3 +69,9 @@ 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