From 1c75776d51ed112ec2a6a26d12936befc57a5d19 Mon Sep 17 00:00:00 2001 From: Lyude Paul Date: Mon, 24 Jun 2024 19:22:40 -0400 Subject: [PATCH] Fix rust format error from updating CI --- src/color.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/color.rs b/src/color.rs index 5f366614..03959c05 100644 --- a/src/color.rs +++ b/src/color.rs @@ -32,9 +32,9 @@ impl Color { pub fn to_u16(self) -> (u16, u16, u16) { ( - (std::u16::MAX as f64 * self.0) as u16, - (std::u16::MAX as f64 * self.1) as u16, - (std::u16::MAX as f64 * self.2) as u16, + (u16::MAX as f64 * self.0) as u16, + (u16::MAX as f64 * self.1) as u16, + (u16::MAX as f64 * self.2) as u16, ) }