From 5795b5b573860e6a1e972c1c03020191870e5e28 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Thu, 30 Apr 2026 15:33:42 +0200 Subject: [PATCH] examples: remove unused variable in snek JS (#27036) --- examples/snek/snek.js.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/snek/snek.js.v b/examples/snek/snek.js.v index d73bd3832..f51c49443 100644 --- a/examples/snek/snek.js.v +++ b/examples/snek/snek.js.v @@ -72,7 +72,7 @@ fn (mut app App) move_food() { } // events -fn on_keydown(key gg.KeyCode, mod gg.Modifier, mut app App) { +fn on_keydown(key gg.KeyCode, _ gg.Modifier, mut app App) { match key { .w, .up { if app.last_dir != .down { -- 2.39.5