From 8d02c5653079039bf748e1d0748d220cf933b725 Mon Sep 17 00:00:00 2001 From: stale Date: Wed, 11 May 2022 08:28:20 -0300 Subject: fixes --- src/minesweeper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/minesweeper.rs b/src/minesweeper.rs index 8a0ee8d..6f5b3b6 100644 --- a/src/minesweeper.rs +++ b/src/minesweeper.rs @@ -172,7 +172,7 @@ impl Board { } pub fn render(&self) -> Vec { - let mut ret = vec![27]; + let mut ret = vec![]; for y in 0..self.height { for x in 0..self.width { let c = &self.data[self.pos_to_off((x,y))]; -- cgit v1.2.3