Skip to content

Commit

Permalink
Merge pull request #49 from Georges760/error-partialeq
Browse files Browse the repository at this point in the history
Add PartialEq to Error enum
  • Loading branch information
quake authored Sep 13, 2024
2 parents 761d84a + cea7fa0 commit 8bc26dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Features

* Add PartialEq derived macro to Error in order to be able to test error cases

# [0.9.0](https://github.com/nervosnetwork/faster-hex/compare/v0.9.0..v0.8.2) (2023-11-22)
Re create `v0.9.0`, since `v0.8.2` introduced a [break change](https://github.com/nervosnetwork/faster-hex/issues/43#issuecomment-1822551961),

Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[derive(Clone, Copy)]
#[derive(Clone, Copy, PartialEq)]
pub enum Error {
InvalidChar,
InvalidLength(usize),
Expand Down

0 comments on commit 8bc26dc

Please sign in to comment.