diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2023-04-23 15:33:56 +0200 |
|---|---|---|
| committer | datdenkikniet <jcdra1@gmail.com> | 2023-05-11 19:20:58 +0200 |
| commit | a66540efa014b3716d252612bfc7f8f17ed765c4 (patch) | |
| tree | 5efe4cf769b9941c5ce387649ee8ed15470ca507 /book/en/deprecated/by_example | |
| parent | 0807aa548c865d12746ce17aa1c17f7968b139a9 (diff) | |
Disable the playground on all of these
Diffstat (limited to 'book/en/deprecated/by_example')
| -rw-r--r-- | book/en/deprecated/by_example/monotonic.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/book/en/deprecated/by_example/monotonic.md b/book/en/deprecated/by_example/monotonic.md index 3a23681..0ed4340 100644 --- a/book/en/deprecated/by_example/monotonic.md +++ b/book/en/deprecated/by_example/monotonic.md @@ -34,7 +34,7 @@ This activates the monotonics making it possible to use them. See the following example: -``` rust +``` rust,noplayground {{#include ../../../../examples/schedule.rs}} ``` @@ -54,7 +54,7 @@ which allows canceling or rescheduling of the task scheduled to run in the futur If `cancel` or `reschedule_at`/`reschedule_after` returns an `Err` it means that the operation was too late and that the task is already sent for execution. The following example shows this in action: -``` rust +``` rust,noplayground {{#include ../../../../examples/cancel-reschedule.rs}} ``` |
