Skip to content
Snippets Groups Projects
Verified Commit d75a908f authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: new format

parent 70b3e266
No related branches found
No related tags found
No related merge requests found
Pipeline #2186 passed
......@@ -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,
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment