Skip to content

Commit

Permalink
Update tokio/src/macros/try_join.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
  • Loading branch information
hi-rustin and Darksonn committed Sep 25, 2021
1 parent ada58a2 commit 68256a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tokio/src/macros/try_join.rs
Expand Up @@ -91,8 +91,9 @@
/// Ok(val) => {
/// // do something with the values
/// }
/// Err(val) => {
/// assert_eq!(val, "failed");
/// Err(err) => {
/// println!("Failed with {}.", err);
/// # assert_eq!(val, "failed");
/// }
/// }
/// }
Expand Down

0 comments on commit 68256a8

Please sign in to comment.