Skip to content

Commit b6dc9ee

Browse files
committed
feat: add partialeq to Error
1 parent 2909af8 commit b6dc9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use thiserror::Error;
4242
#[cfg(feature = "serde")]
4343
extern crate serde;
4444

45-
#[derive(Error, Debug)]
45+
#[derive(Error, Debug, PartialEq, Eq)]
4646
pub enum Error {
4747
#[error("Invalid url: \"{0}\"")]
4848
ParseUrl(String),

0 commit comments

Comments
 (0)