Skip to content

Commit 50ddb53

Browse files
committed
Remove Clone and PartialEq impls from error type
These are not widely provided for error types in the ecosystem.
1 parent 77b90c6 commit 50ddb53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub type Result<T> = std::result::Result<T, Error>;
1515
// information in its error type, for example the line and column at which the
1616
// error occurred, the byte offset into the input, or the current key being
1717
// processed.
18-
#[derive(Clone, Debug, PartialEq)]
18+
#[derive(Debug)]
1919
pub enum Error {
2020
// One or more variants that can be created by data structures through the
2121
// `ser::Error` and `de::Error` traits. For example the Serialize impl for

0 commit comments

Comments
 (0)