reduce warnings lib
This commit is contained in:
parent
8c93e54939
commit
bbb4866fa0
4 changed files with 4 additions and 5 deletions
|
@ -1,8 +1,7 @@
|
|||
use std::error::Error;
|
||||
use std::clone::Clone;
|
||||
use std::fmt::Error as FmtError;
|
||||
use std::fmt::{Debug, Display, Formatter};
|
||||
use std::fmt;
|
||||
use std::fmt::{Display, Formatter};
|
||||
|
||||
/// Enum of Error Types, as of now we have two:
|
||||
/// * ConversionError: for Errors concerning conversion failures from task_hookrs::task::Task to
|
||||
|
|
|
@ -2,8 +2,8 @@ extern crate semver;
|
|||
extern crate uuid;
|
||||
extern crate toml;
|
||||
|
||||
extern crate task_hookrs;
|
||||
#[macro_use] extern crate libimagstore;
|
||||
extern crate task_hookrs;
|
||||
|
||||
module_entry_path_mod!("todo", "0.1.0");
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use error::{TodoError, TodoErrorKind};
|
||||
use error::TodoError;
|
||||
|
||||
use std::result::Result as RResult;
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
use std::ops::Deref;
|
||||
use std::collections::BTreeMap;
|
||||
use toml::Value;
|
||||
|
||||
|
@ -68,6 +67,7 @@ impl<'a> IntoTask<'a> for TTask {
|
|||
}
|
||||
Ok(Some(_)) => { }
|
||||
Err(e) => {
|
||||
return Err(TodoError::new(TodoErrorKind::StoreError, Some(Box::new(e))))
|
||||
}
|
||||
}
|
||||
match header.set("todo.uuid", Value::String(format!("{}",uuid))) {
|
||||
|
|
Loading…
Reference in a new issue