Skip to content

Commit

Permalink
Resolves todo!() on serializing VarSet (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattxwang authored Jul 21, 2023
1 parent 96defb0 commit b1cdc6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/repr/var_label.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ pub struct VarSet {
}

impl Serialize for VarSet {
fn serialize<S>(&self, _serializer: S) -> Result<S::Ok, S::Error>
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
todo!()
serializer.collect_seq(self.b.iter())
}
}

Expand Down

0 comments on commit b1cdc6d

Please sign in to comment.