From 45fafbcd4b41a5388ece377c4e051b5846407288 Mon Sep 17 00:00:00 2001 From: lamp Date: Sun, 21 Jan 2024 17:03:07 +0000 Subject: fmt and tidy --- src/texture/solid_color.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/texture/solid_color.rs') diff --git a/src/texture/solid_color.rs b/src/texture/solid_color.rs index 3af46ca..1bbc463 100644 --- a/src/texture/solid_color.rs +++ b/src/texture/solid_color.rs @@ -7,9 +7,7 @@ pub struct SolidColor { impl SolidColor { pub fn from_color(color_value: Color) -> Self { - Self { - color_value, - } + Self { color_value } } } -- cgit v1.2.3