Remove pub visibility on server() as the argument has a private type. This gets rid of a warning. (#112)

This commit is contained in:
Jack Moffitt authored and GitHub committed 2024-07-07 21:18:43 +02:00
1 parent fccad08921
commit f272843c61
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ enum Command {
}, },
} }
pub fn server(receiver: Receiver<Command>) { fn server(receiver: Receiver<Command>) {
let mut store = TicketStore::new(); let mut store = TicketStore::new();
loop { loop {
match receiver.recv() { match receiver.recv() {