Skip to content

Commit 4214f35

Browse files
committed
add ch14
1 parent 0574e63 commit 4214f35

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

.DS_Store

0 Bytes
Binary file not shown.

book_cn/rust_concurrency_cookbook.pdf

46.1 KB
Binary file not shown.

special/src/oneshots.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub fn async_oneshot_example() {
2626
}
2727

2828
pub fn catty_example() {
29-
let (sender, mut receiver) = catty::oneshot();
29+
let (sender, mut receiver) = ::oneshot();
3030
let sender = thread::spawn(move || {
3131
sender.send(1).unwrap();
3232
});

0 commit comments

Comments
 (0)