mirror of
https://github.com/ratatui-org/ratatui
synced 2024-09-20 14:42:06 +00:00
Add PartialEq to Text
This commit is contained in:
parent
fe0ddf6c83
commit
2a7eec816a
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub enum Text<'b> {
|
||||
Raw(Cow<'b, str>),
|
||||
Styled(Cow<'b, str>, Style),
|
||||
|
|
Loading…
Reference in a new issue