From 6bf3c5e369ea6dccb42ec04923035b7c2657ae57 Mon Sep 17 00:00:00 2001 From: "Filip Demski (Glamhoth)" Date: Mon, 9 Oct 2023 10:14:42 +0200 Subject: [PATCH] Docs: Minor fixes Co-authored-by: Wojciech Olech --- src/cyclic_execution.rs | 3 +-- src/cyclic_execution_manager.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cyclic_execution.rs b/src/cyclic_execution.rs index 8ac77067..c817107c 100644 --- a/src/cyclic_execution.rs +++ b/src/cyclic_execution.rs @@ -23,9 +23,8 @@ impl CyclicExecution { /// /// # Parameters /// * `tasklet` - Tasklet which should be executed cyclically. - /// * `period` - Period of execution, `None` if should be woke whenever possible. + /// * `period` - Period of execution, `None` if should be awaken whenever possible. /// * `offset` - Offset of first execution after scheduled start, `None` if should be executed instantly. - /// executed instantly. pub(crate) fn new( tasklet: TaskletPtr, period: Option, diff --git a/src/cyclic_execution_manager.rs b/src/cyclic_execution_manager.rs index 8a956dde..8c5a6c13 100644 --- a/src/cyclic_execution_manager.rs +++ b/src/cyclic_execution_manager.rs @@ -46,7 +46,7 @@ impl CyclicExecutionManager { /// /// # Parameters /// * `tasklet` - Tasklet which should be executed cyclically. - /// * `period` - Period of execution, `None` if should be woke whenever possible. + /// * `period` - Period of execution, `None` if should be awaken whenever possible. /// * `offset` - Offset of first execution after scheduled start, `None` if should be executed instantly. /// /// # Return