From 3dc4a5fdac0d1802372b9c90e374eb77c13de10c Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 5 Feb 2024 17:31:11 +0400 Subject: Fix Clippy warnings --- src/config_error_notification.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/config_error_notification.rs') diff --git a/src/config_error_notification.rs b/src/config_error_notification.rs index 773f3a13..c4f314ca 100644 --- a/src/config_error_notification.rs +++ b/src/config_error_notification.rs @@ -167,6 +167,12 @@ impl ConfigErrorNotification { } } +impl Default for ConfigErrorNotification { + fn default() -> Self { + Self::new() + } +} + fn render(scale: i32, created_path: Option<&Path>) -> anyhow::Result { let _span = tracy_client::span!("config_error_notification::render"); -- cgit