From 4b29584fe5ee0bf424a2c2d2538532a2bbbdf64a Mon Sep 17 00:00:00 2001 From: Evgeny Khudoba Date: Sat, 22 Jun 2024 23:27:20 +0700 Subject: [PATCH] simplified pub Co-authored-by: Alexandre Bury --- cursive/examples/mines/board/view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cursive/examples/mines/board/view.rs b/cursive/examples/mines/board/view.rs index b4d596a0..f70ed8a8 100644 --- a/cursive/examples/mines/board/view.rs +++ b/cursive/examples/mines/board/view.rs @@ -17,7 +17,7 @@ pub(crate) struct BoardView { } impl BoardView { - pub(crate) fn new(options: Options) -> Self { + pub fn new(options: Options) -> Self { let board = Board::new(options); BoardView { board,