diff --git a/src/widgets/mod.rs b/src/widgets/mod.rs index 700ca23b..87526913 100644 --- a/src/widgets/mod.rs +++ b/src/widgets/mod.rs @@ -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),