Skip to content

Commit

Permalink
docs: fix typo (#741)
Browse files Browse the repository at this point in the history
Co-authored-by: Brain <[email protected]>
  • Loading branch information
harshfeudal and braindigitalis authored Aug 2, 2023
1 parent 67c4fa1 commit f5bcb01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docpages/advanced_reference/coroutines.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\page coroutines Advanced commands with coroutines

\warning D++ Coroutines are a very new feature and are currently only supported by D++ on g++ 13.1 and MSVC 19.37, and the CMake option DPP_CORO must be enabled. They are experimental and may have bugs or even crashes, pease report any to [GitHub Issues](https://github.com/brainboxdotcc/DPP/issues) or to our [Discord Server](https://discord.gg/dpp).
\warning D++ Coroutines are a very new feature and are currently only supported by D++ on g++ 13.1 and MSVC 19.37, and the CMake option DPP_CORO must be enabled. They are experimental and may have bugs or even crashes, please report any to [GitHub Issues](https://github.com/brainboxdotcc/DPP/issues) or to our [Discord Server](https://discord.gg/dpp).

### What is a coroutine?

Expand Down Expand Up @@ -131,7 +131,7 @@ int main() {

### I heard you liked tasks

\note This next example is fairly advanced and makes uses of many of both C++ and D++'s advanced features.
\note This next example is fairly advanced and makes use of many of both C++ and D++'s advanced features.

Lastly, `dpp::task` takes its return type as a template parameter, which allows you to use tasks inside tasks and return a result from them.

Expand Down Expand Up @@ -225,4 +225,4 @@ int main() {
bot.start(dpp::st_wait);
}
~~~~~~~~~~
~~~~~~~~~~

0 comments on commit f5bcb01

Please sign in to comment.