diff --git a/src/ppu.rs b/src/ppu.rs index 443d36cc492a7b1826604e9b0ce05a3b0fc615a6..e03f3172f21a17cfa454dc708de474b19e9bdc42 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -58,14 +58,14 @@ pub type Palette = [Pixel; PALETTE_SIZE]; #[derive(Clone, PartialEq, Eq)] pub struct PaletteInfo { name: String, - colors: Palette + colors: Palette, } impl PaletteInfo { pub fn new(name: &str, colors: Palette) -> Self { Self { name: String::from(name), - colors + colors, } }