Skip to content

Commit

Permalink
Fix rust format error from updating CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyude committed Jun 24, 2024
1 parent 80022d4 commit 988a875
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
}

Expand Down

0 comments on commit 988a875

Please sign in to comment.