Fix errors (former warnings) in several crates
This fixes errors (former warnings) in several locations.
This commit is contained in:
parent
286de656df
commit
75e42d2f0b
5 changed files with 2 additions and 14 deletions
|
@ -17,10 +17,7 @@
|
|||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
|
||||
use result::Result;
|
||||
|
||||
use chrono::NaiveDateTime;
|
||||
use filters::filter::Filter;
|
||||
|
||||
use libimagstore::store::FileLockEntry;
|
||||
|
||||
|
|
|
@ -30,10 +30,7 @@ mod test {
|
|||
|
||||
use libimagstore::store::Store;
|
||||
|
||||
use super::create::*;
|
||||
use super::get::*;
|
||||
use super::setendtime::*;
|
||||
use super::storeid::*;
|
||||
use super::tag::*;
|
||||
|
||||
fn get_store() -> Store {
|
||||
|
@ -53,7 +50,7 @@ mod test {
|
|||
|
||||
let iter = tags.into_iter().map(String::from);
|
||||
|
||||
let iter : SetEndTimeIter = TagIter::new(Box::new(iter))
|
||||
let _ : SetEndTimeIter = TagIter::new(Box::new(iter))
|
||||
.create_storeids(now)
|
||||
.create_entries(&store)
|
||||
.set_end_time(then);
|
||||
|
|
|
@ -37,7 +37,7 @@ extern crate uuid;
|
|||
extern crate toml;
|
||||
|
||||
#[macro_use] extern crate libimagerror;
|
||||
#[macro_use] extern crate libimagstore;
|
||||
extern crate libimagstore;
|
||||
extern crate libimagentrylink;
|
||||
extern crate libimagnotes;
|
||||
extern crate libimagutil;
|
||||
|
|
|
@ -23,6 +23,3 @@ libimagerror = { version = "0.4.0", path = "../../../lib/core/libimagerror" }
|
|||
libimagstore = { version = "0.4.0", path = "../../../lib/core/libimagstore" }
|
||||
libimagutil = { version = "0.4.0", path = "../../../lib/etc/libimagutil" }
|
||||
|
||||
[dev-dependencies]
|
||||
is-match = "0.1"
|
||||
|
||||
|
|
|
@ -42,9 +42,6 @@ extern crate toml;
|
|||
extern crate libimagstore;
|
||||
extern crate libimagutil;
|
||||
|
||||
#[cfg(test)]
|
||||
#[macro_use] extern crate is_match;
|
||||
|
||||
pub mod datepath;
|
||||
pub mod datetime;
|
||||
pub mod error;
|
||||
|
|
Loading…
Reference in a new issue