Skip to content

Commit

Permalink
Rm unused struct
Browse files Browse the repository at this point in the history
  • Loading branch information
cowlicks committed Mar 29, 2024
1 parent 4ff8206 commit ff8177f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,6 @@ struct Node {
blocks: Shared<Blocks>,
}

struct KeyValueVecDebug<'a>(&'a Vec<KeyValue>);
impl Debug for KeyValueVecDebug<'_> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut dl = f.debug_list();
for kv in self.0.iter() {
dl.entry(&format_args!("{}", kv.seq));
}
dl.finish()
}
}

/// custom debug because the struct is recursive
impl Debug for Node {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
Expand Down

0 comments on commit ff8177f

Please sign in to comment.