Skip to content

Commit

Permalink
Disable unused warning for ParseFormatError
Browse files Browse the repository at this point in the history
  • Loading branch information
cydparser committed Aug 8, 2024
1 parent 9af8e9a commit 63f38a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ impl fmt::Display for ExportFormat {
}
}

// TODO: This type is publicly exposed, but never constructed.
#[allow(dead_code)]
#[derive(Clone, Eq, PartialEq, Debug)]
pub struct ParseFormatError(String);

Expand Down

0 comments on commit 63f38a8

Please sign in to comment.