Skip to content

Commit

Permalink
fix README.md (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkoooo committed Apr 19, 2023
1 parent 885b54e commit 4378e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ use std::future::Future;
#[case(2, async { 4 })]
#[case(21, async { 42 })]
#[actix_rt::test]
async fn my_async_test(#[case] a: u32, result: #[case] #[future] u32) {
async fn my_async_test(#[case] a: u32, #[case] #[future] result: u32) {
assert_eq!(2 * a, result.await);
}
```
Expand Down

0 comments on commit 4378e0e

Please sign in to comment.