projects
/
rust_exercises.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fccad08
)
Remove pub visibility on `server()` as the argument has a private type. This gets...
author
Jack Moffitt
<jack@metajack.im>
Sun, 7 Jul 2024 19:18:43 +0000
(14:18 -0500)
committer
GitHub
<noreply@github.com>
Sun, 7 Jul 2024 19:18:43 +0000
(21:18 +0200)
exercises/07_threads/08_client/src/lib.rs
patch
|
blob
|
history
diff --git
a/exercises/07_threads/08_client/src/lib.rs
b/exercises/07_threads/08_client/src/lib.rs
index
bee4f91
..
a934bd3
100644
(file)
--- a/
exercises/07_threads/08_client/src/lib.rs
+++ b/
exercises/07_threads/08_client/src/lib.rs
@@
-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() {