Remove pub visibility on server() as the argument has a private type. This gets rid of a warning. (#112)
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled

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

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() {