Skip to content

Commit dc2400f

Browse files
committed
Implement Hash for ParseError
1 parent 9a8f7d0 commit dc2400f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77

88
## Unreleased
99

10+
- Implement `Hash` for `ParseError`.
11+
1012
## 1.1.0
1113

1214
- Bump MSRV from `1.64` to `1.65`.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ impl core::str::FromStr for CursorIcon {
427427
/// This occurs when the [`FromStr`] implementation of [`CursorIcon`] fails.
428428
///
429429
/// [`FromStr`]: core::str::FromStr
430-
#[derive(Debug, PartialEq, Eq)]
430+
#[derive(Debug, PartialEq, Eq, Hash)]
431431
pub struct ParseError {
432432
_private: (),
433433
}

0 commit comments

Comments
 (0)