Skip to content

Commit c99a367

Browse files
Fix inconsistent caps
1 parent 1ee9c46 commit c99a367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posts/inside-rust/2024-08-09-async-closures-call-for-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn test<F>(callback: F)
4747
where
4848
// Either:
4949
async Fn(Arg, Arg) -> Ret
50-
// or:
50+
// Or:
5151
AsyncFn(Arg, Arg) -> Ret
5252
```
5353

@@ -85,7 +85,7 @@ where
8585

8686
// Write this:
8787
fn takes_an_async_closure<F: async FnOnce() -> String>() { todo!() }
88-
// or this:
88+
// Or this:
8989
fn takes_an_async_closure<F: AsyncFnOnce() -> String>() { todo!() }
9090
```
9191

0 commit comments

Comments
 (0)