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 2024-07-07 14:18:43 -05:00 committed by GitHub
parent fccad08921
commit f272843c61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ enum Command {
},
}
pub fn server(receiver: Receiver<Command>) {
fn server(receiver: Receiver<Command>) {
let mut store = TicketStore::new();
loop {
match receiver.recv() {