aboutsummaryrefslogtreecommitdiff
path: root/book/en/deprecated/by_example
diff options
context:
space:
mode:
Diffstat (limited to 'book/en/deprecated/by_example')
-rw-r--r--book/en/deprecated/by_example/monotonic.md4
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}}
```