From f272843c6122ef7496b6f3638b75ecbc30db804f Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Sun, 7 Jul 2024 14:18:43 -0500 Subject: [PATCH] Remove pub visibility on `server()` as the argument has a private type. This gets rid of a warning. (#112) --- exercises/07_threads/08_client/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/07_threads/08_client/src/lib.rs b/exercises/07_threads/08_client/src/lib.rs index bee4f91..a934bd3 100644 --- a/exercises/07_threads/08_client/src/lib.rs +++ b/exercises/07_threads/08_client/src/lib.rs @@ -38,7 +38,7 @@ enum Command { }, } -pub fn server(receiver: Receiver) { +fn server(receiver: Receiver) { let mut store = TicketStore::new(); loop { match receiver.recv() { -- 2.45.2