Commit 94e115e
committed
Improve return type annotation in
In two examples involving `async fn`, we annotate the returned opaque
type in comments. In these comments, we had notated the trait bounds,
but we had not included the keyword `impl`. Let's include that
keyword for greater clarity.
We'll also add backticks around the annotated return type in the
second example. These were already present in the first example.async fn examples1 parent 38cd2e4 commit 94e115e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments