Skip to content

Commit

Permalink
Docs: Minor fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Wojciech Olech <wojciech_olech@hotmail.com>
  • Loading branch information
Glamhoth and SteelPh0enix authored Oct 9, 2023
1 parent dad2dcc commit 6bf3c5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/cyclic_execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Duration>,
Expand Down
2 changes: 1 addition & 1 deletion src/cyclic_execution_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bf3c5e

Please sign in to comment.