Fix errors (former warnings) in several crates

This fixes errors (former warnings) in several locations.
This commit is contained in:
Matthias Beyer 2017-08-26 19:41:55 +02:00
parent 286de656df
commit 75e42d2f0b
5 changed files with 2 additions and 14 deletions

View file

@ -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;

View file

@ -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);

View file

@ -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;

View file

@ -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"

View file

@ -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;