Skip to content

Commit 57c53b6

Browse files
authored
Merge pull request #282 from davidcole1340/fix_typo
Fix typo
2 parents 426e2eb + b81128a commit 57c53b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/src/macros/async_impl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Using `#[php_async_impl]` instead of `#[php_impl]` allows us to expose any async
44

55
This allows full compatibility with [amphp](https://amphp.org), [PSL](https://github.com/azjezz/psl), [reactphp](https://reactphp.org) and any other async PHP library based on [Revolt](https://revolt.run).
66

7-
Traits annotated with `#[php_impl]` can freely expose any async function, using `await` and any async Rust library.
7+
Traits annotated with `#[php_async_impl]` can freely expose any async function, using `await` and any async Rust library.
88

99
Make sure to also expose the `php_tokio::EventLoop::init` and `php_tokio::EventLoop::wakeup` functions to PHP in order to initialize the event loop, as specified in the full example [here »](#async-example).
1010

0 commit comments

Comments
 (0)