From 16cb143ffe94f4d6199b873081b5f22e8116a670 Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Wed, 25 Oct 2023 18:14:30 -0700 Subject: [PATCH] clippy --- crates/xilem_svg/src/context.rs | 6 ++++++ 1 file changed, 6 insertions(+) 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 {