Use import grouping
This commit is contained in:
parent
479f77473c
commit
06af1a749f
1 changed files with 10 additions and 7 deletions
|
@ -1,13 +1,16 @@
|
||||||
use task_hookrs::error::Result;
|
use task_hookrs::{
|
||||||
use task_hookrs::cache::TaskCache;
|
error::Result,
|
||||||
use task_hookrs::task::{Task, TaskBuilder};
|
cache::TaskCache,
|
||||||
|
task::{Task, TaskBuilder}
|
||||||
|
};
|
||||||
use generate::GeneratedTask;
|
use generate::GeneratedTask;
|
||||||
use refresh::{TaskRefresher, Timer};
|
use refresh::{TaskRefresher, Timer};
|
||||||
use tasktree::TreeCache;
|
use tasktree::TreeCache;
|
||||||
use chrono::NaiveDate;
|
use chrono::{NaiveDate,Duration};
|
||||||
use chrono::Duration;
|
use kairos::{
|
||||||
use kairos::timetype::TimeType as TT;
|
timetype::TimeType as TT,
|
||||||
use kairos::iter::extensions::{Weekly, Monthly, Daily};
|
iter::extensions::{Weekly, Monthly, Daily}
|
||||||
|
};
|
||||||
|
|
||||||
fn simple_task(name: &str) -> Task {
|
fn simple_task(name: &str) -> Task {
|
||||||
let mut task = TaskBuilder::default().description(name).build().expect(
|
let mut task = TaskBuilder::default().description(name).build().expect(
|
||||||
|
|
Loading…
Reference in a new issue