diff --git a/crates/fayalite/src/sim/value.rs b/crates/fayalite/src/sim/value.rs index ff6660ca..f1fc40c0 100644 --- a/crates/fayalite/src/sim/value.rs +++ b/crates/fayalite/src/sim/value.rs @@ -157,7 +157,13 @@ pub struct SimValue { inner: AlternatingCell>, } -impl Clone for SimValue { +impl> fmt::Display for SimValue { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + T::SimValue::fmt(self, f) + } +} + +impl Clone for SimValue { fn clone(&self) -> Self { Self { inner: AlternatingCell::new_unique(self.inner.share().clone()),