diff --git a/fang/src/asynk/async_runnable.rs b/fang/src/asynk/async_runnable.rs index bc0852b..d63dd56 100644 --- a/fang/src/asynk/async_runnable.rs +++ b/fang/src/asynk/async_runnable.rs @@ -58,13 +58,12 @@ pub trait AsyncRunnable: Send + Sync { /// /** ```rust - fn cron(&self) -> Option { - let expression = "0/20 * * * Aug-Sep * 2022/1"; - Some(Scheduled::CronPattern(expression.to_string())) - } + fn cron(&self) -> Option { + let expression = "0/20 * * * Aug-Sep * 2022/1"; + Some(Scheduled::CronPattern(expression.to_string())) + } ``` */ - /// In order to schedule a task once, use the `Scheduled::ScheduleOnce` enum variant. fn cron(&self) -> Option { None