Fixed typos in examples (#2231)

This commit is contained in:
Christian Vallentin
2020-02-11 10:56:32 -05:00
committed by GitHub
parent 874264a4ef
commit d49e6ae1b3
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
// Run both futures simultaneously of `a` and `b` sending messages back and forth.
match futures::future::try_join(a, b).await {
Err(e) => println!("an error occured; error = {:?}", e),
Err(e) => println!("an error occurred; error = {:?}", e),
_ => println!("done!"),
}