Skip to content

Commit

Permalink
Make AnsiAwareChar hashable
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelmello committed Jan 4, 2024
1 parent f87be73 commit 923047a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inquire/src/ansi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub struct AnsiAwareChars<'a> {
}

#[must_use]
#[derive(Debug, PartialEq, Eq)]
#[derive(Debug, PartialEq, Eq, Hash)]
pub enum AnsiAwareChar<'a> {
AnsiEscapeSequence(&'a str),
Char(char),
Expand Down

0 comments on commit 923047a

Please sign in to comment.