Skip to content

Commit e43fbf8

Browse files
authored
Fix private interface warning in exercise 07-10
1 parent 67959f6 commit e43fbf8

File tree

1 file changed

+1
-1
lines changed
  • exercises/07_threads/10_patch/src

1 file changed

+1
-1
lines changed

exercises/07_threads/10_patch/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ enum Command {
6363
},
6464
}
6565

66-
pub fn server(receiver: Receiver<Command>) {
66+
fn server(receiver: Receiver<Command>) {
6767
let mut store = TicketStore::new();
6868
loop {
6969
match receiver.recv() {

0 commit comments

Comments
 (0)