Remove pub visibility on `server()` as the argument has a private type. This gets rid of a warning. (#112)
This commit is contained in:
parent
fccad08921
commit
f272843c61
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue