From 520cb728295432971fa53a0e7eecee29cd483b6d Mon Sep 17 00:00:00 2001 From: Antoine POPINEAU Date: Tue, 16 Jul 2024 22:10:39 +0200 Subject: [PATCH] Fixed clippy lint. --- src/ui/common/style.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/common/style.rs b/src/ui/common/style.rs index 8f24c98..ffbebf5 100644 --- a/src/ui/common/style.rs +++ b/src/ui/common/style.rs @@ -61,16 +61,16 @@ impl Theme { } if style.time.is_none() { - style.time = style.text.clone(); + style.time.clone_from(&style.text); } if style.greet.is_none() { - style.greet = style.text.clone(); + style.greet.clone_from(&style.text); } if style.title.is_none() { - style.title = style.border.clone(); + style.title.clone_from(&style.border); } if style.button.is_none() { - style.button = style.action.clone(); + style.button.clone_from(&style.action); } style