added partialeq + eq to format stuff
This commit is contained in:
parent
bb512f4757
commit
e96079ffee
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user