Skip to content

Commit

Permalink
chore: implement Hash for ParseError
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored Jul 20, 2024
1 parent b2471ca commit 35d512d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

- Implement `Hash` for `ParseError`.

## 1.1.0

- Bump MSRV from `1.64` to `1.65`.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ impl core::str::FromStr for CursorIcon {
/// This occurs when the [`FromStr`] implementation of [`CursorIcon`] fails.
///
/// [`FromStr`]: core::str::FromStr
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct ParseError {
_private: (),
}
Expand Down

0 comments on commit 35d512d

Please # to comment.