aboutsummaryrefslogtreecommitdiff
path: root/src/texture/solid_color.rs
diff options
context:
space:
mode:
authorlamp2024-01-21 17:03:07 +0000
committerlamp2024-01-21 17:03:07 +0000
commit45fafbcd4b41a5388ece377c4e051b5846407288 (patch)
tree2192c471ca3b47671f0906e27f6f6088f40b3d8a /src/texture/solid_color.rs
parent89a5c9a8a0cdf627cda0e31da454f83ca21315ce (diff)
fmt and tidy
Diffstat (limited to 'src/texture/solid_color.rs')
-rw-r--r--src/texture/solid_color.rs4
1 files changed, 1 insertions, 3 deletions
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 }
}
}