diff --git a/crates/xilem_svg/src/context.rs b/crates/xilem_svg/src/context.rs index 09c3e3b55..82bc75a47 100644 --- a/crates/xilem_svg/src/context.rs +++ b/crates/xilem_svg/src/context.rs @@ -93,6 +93,12 @@ impl Cx { } } +impl Default for Cx { + fn default() -> Self { + Self::new() + } +} + impl MessageThunk { pub fn push_message(&self, message_body: impl Any + Send + 'static) { let message = Message {