diff --git a/crates/ui-contract/src/contract/editor.rs b/crates/ui-contract/src/contract/editor.rs index eb80378c7..fd08b58dd 100644 --- a/crates/ui-contract/src/contract/editor.rs +++ b/crates/ui-contract/src/contract/editor.rs @@ -27,6 +27,7 @@ pub(crate) type Order = (usize, u8); /// One step of an editor's pass, in the order of the events it came from ([`Cx::editor_steps`]). #[derive(Clone, Debug, PartialEq)] +#[non_exhaustive] pub enum EditorStep { /// An input of the editor part. Input(EditorInput),