diff --git a/examples/colors.rs b/examples/colors.rs index 8b2e834..8d7f6f6 100644 --- a/examples/colors.rs +++ b/examples/colors.rs @@ -28,7 +28,7 @@ fn back_color(x: u8, y: u8, x_max: u8, y_max: u8) -> Color { 255 - x * (255 / x_max)) } -fn draw(p: &Printer, _: &()) { +fn draw(_: &(), p: &Printer) { let x_max = p.size.x as u8; let y_max = p.size.y as u8;