mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 17:11:02 +00:00
Implement Copy for de::Unexpected
This commit is contained in:
+1
-1
@@ -277,7 +277,7 @@ declare_error_trait!(Error: Sized + Debug + Display);
|
|||||||
/// }
|
/// }
|
||||||
/// # }
|
/// # }
|
||||||
/// ```
|
/// ```
|
||||||
#[derive(Clone, PartialEq, Debug)]
|
#[derive(Copy, Clone, PartialEq, Debug)]
|
||||||
pub enum Unexpected<'a> {
|
pub enum Unexpected<'a> {
|
||||||
/// The input contained a boolean value that was not expected.
|
/// The input contained a boolean value that was not expected.
|
||||||
Bool(bool),
|
Bool(bool),
|
||||||
|
|||||||
Reference in New Issue
Block a user