diff --git a/backend/reconcile/src/utils/side.rs b/backend/reconcile/src/utils/side.rs index bfeee2c4..825fa9e2 100644 --- a/backend/reconcile/src/utils/side.rs +++ b/backend/reconcile/src/utils/side.rs @@ -1,4 +1,16 @@ +use std::fmt::Display; + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum Side { Left, Right, } + +impl Display for Side { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + match self { + Side::Left => write!(f, "Left"), + Side::Right => write!(f, "Right"), + } + } +}