Update code

This commit is contained in:
Aaran Xu 2021-07-17 19:14:11 +08:00
parent b7bdc87ee6
commit cdfcfcf2ce

View File

@ -197,7 +197,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"),