Skip to content

Commit 4082616

Browse files
committed
Derive Copy+Hash for IntErrorKind
1 parent 705421b commit 4082616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub struct ParseIntError {
7979
/// # }
8080
/// ```
8181
#[stable(feature = "int_error_matching", since = "1.55.0")]
82-
#[derive(Debug, Clone, PartialEq, Eq)]
82+
#[derive(Debug, Clone, PartialEq, Eq, Copy, Hash)]
8383
#[non_exhaustive]
8484
pub enum IntErrorKind {
8585
/// Value being parsed is empty.

0 commit comments

Comments
 (0)