derive PartialEq and Eq for ParseCharError
unlike the other Parse*Error types, ParseCharError didn't have these implemented for whatever reason
This commit is contained in:
parent
bacb5c58df
commit
838ddbf908
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ impl From<u8> for char {
|
|||
|
||||
/// An error which can be returned when parsing a char.
|
||||
#[stable(feature = "char_from_str", since = "1.20.0")]
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub struct ParseCharError {
|
||||
kind: CharErrorKind,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue