更新示例 16-11的代码

pull/510/head
Hao Wang 4 years ago committed by GitHub
parent d14d64577b
commit dac25e0f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -200,7 +200,7 @@ Got: thread
let (tx, rx) = mpsc::channel(); let (tx, rx) = mpsc::channel();
let tx1 = mpsc::Sender::clone(&tx); let tx1 = tx.clone();
thread::spawn(move || { thread::spawn(move || {
let vals = vec![ let vals = vec![
String::from("hi"), String::from("hi"),

Loading…
Cancel
Save