small fixes

This commit is contained in:
vextrixes committed 2026-07-04 10:08:51 +02:00
1 parent c234070707
commit 526ffa885e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ pub struct Color {
}
impl Color {
pub fn to_array(self) -> [u8; 3] {
pub fn to_array(&self) -> [u8; 3] {
[self.red, self.green, self.blue]
}
}