Implement Copy for de::Unexpected

This commit is contained in:
David Tolnay 2017-04-13 11:11:37 -07:00
parent aef136934b
commit 14034968df
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -277,7 +277,7 @@ declare_error_trait!(Error: Sized + Debug + Display);
/// }
/// # }
/// ```
#[derive(Clone, PartialEq, Debug)]
#[derive(Copy, Clone, PartialEq, Debug)]
pub enum Unexpected<'a> {
/// The input contained a boolean value that was not expected.
Bool(bool),