From e96079ffeef37855ce68f1a90edd5f57934fcb85 Mon Sep 17 00:00:00 2001 From: wrk Date: Fri, 9 Jun 2023 23:21:24 +0200 Subject: [PATCH] added partialeq + eq to format stuff --- src/format.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/format.rs b/src/format.rs index 3cfec15..bf67f6c 100644 --- a/src/format.rs +++ b/src/format.rs @@ -1,4 +1,4 @@ -#[derive(Clone, Copy)] +#[derive(Clone, Copy, PartialEq, Eq)] pub enum Format { Bold, Italics, @@ -23,7 +23,7 @@ impl std::fmt::Display for Format { } } -#[derive(Clone, Copy)] +#[derive(Clone, Copy, PartialEq, Eq)] pub enum Color { White, Black,