Skip to content

Commit

Permalink
Format codes
Browse files Browse the repository at this point in the history
  • Loading branch information
EFanZh committed Jan 29, 2023
1 parent 47cf6a7 commit 10b1b78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/future/or_else_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ mod tests {
#[tokio::test]
async fn test_or_else_async_with_option() {
assert_eq!(
future::err::<u32, _>(2).slim_or_else_async(|x| future::ready(Some(x + 3))).await,
future::err::<u32, _>(2)
.slim_or_else_async(|x| future::ready(Some(x + 3)))
.await,
Some(5),
);
}
Expand Down

0 comments on commit 10b1b78

Please sign in to comment.