Skip to content

Commit

Permalink
docs: address comment
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
  • Loading branch information
hi-rustin committed Sep 25, 2021
1 parent ada58a2 commit c574cab
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!(err, "failed");
/// }
/// }
/// }
Expand Down

0 comments on commit c574cab

Please sign in to comment.