diff --git a/crates/egui/src/util/undoer.rs b/crates/egui/src/util/undoer.rs index 0b64a1c4a35b..7520ed77e38a 100644 --- a/crates/egui/src/util/undoer.rs +++ b/crates/egui/src/util/undoer.rs @@ -67,9 +67,10 @@ pub struct Undoer { impl std::fmt::Debug for Undoer { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - let Self { undos, .. } = self; + let Self { undos, redos, .. } = self; f.debug_struct("Undoer") .field("undo count", &undos.len()) + .field("redo count", &redos.len()) .finish() } }