Skip to content

Commit

Permalink
Implement Clone, Copy and Eq for ToAsciiCharError
Browse files Browse the repository at this point in the history
  • Loading branch information
tormol authored and Thomas Bahn committed Aug 21, 2019
1 parent 509c167 commit 1d6793b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ascii_char.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ impl_into_partial_eq_ord!{char, AsciiChar::as_char}


/// Error returned by `ToAsciiChar`.
#[derive(PartialEq)]
#[derive(Clone, Copy, PartialEq, Eq)]
pub struct ToAsciiCharError(());

const ERRORMSG_CHAR: &'static str = "not an ASCII character";
Expand Down

0 comments on commit 1d6793b

Please sign in to comment.