Add PartialEq to Text

pull/165/head
Florian Dehau 5 years ago
parent fe0ddf6c83
commit 2a7eec816a

@ -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…
Cancel
Save