From a66540efa014b3716d252612bfc7f8f17ed765c4 Mon Sep 17 00:00:00 2001 From: datdenkikniet Date: Sun, 23 Apr 2023 15:33:56 +0200 Subject: Disable the playground on all of these --- book/en/deprecated/by_example/monotonic.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'book/en/deprecated/by_example') 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}} ``` -- cgit v1.2.3