Skip to content

Commit

Permalink
Merge pull request #194 from LucaBoschetto/patch-2
Browse files Browse the repository at this point in the history
Update lib.rs: made fn server non-public
  • Loading branch information
hdoordt authored Oct 29, 2024
2 parents 8fedc3c + 1b9ab80 commit 5082242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/07_threads/09_bounded/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ enum Command {
},
}

pub fn server(receiver: Receiver<Command>) {
fn server(receiver: Receiver<Command>) {
let mut store = TicketStore::new();
loop {
match receiver.recv() {
Expand Down

0 comments on commit 5082242

Please sign in to comment.