aboutsummaryrefslogtreecommitdiff
path: root/src/texture/solid_color.rs
diff options
context:
space:
mode:
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 }
}
}