Skip to content

Commit 1f78f4b

Browse files
committed
Fix warnings
1 parent 16da5b4 commit 1f78f4b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/changelog.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use std::convert::From;
66
use serde_json;
77

88
use schema::{changes, syncpoints};
9-
use file_util::get_semi_unique_identifier;
109

1110
use error::Result;
1211

src/file_database.rs

+3
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,9 @@ mod db_tests {
514514

515515
use std::sync::Arc;
516516

517+
// This DateLike import is required but the compiler doesn't seem to understand
518+
// that
519+
#[allow(unused_imports)]
517520
use chrono::{NaiveDate, Datelike};
518521

519522
use date_search;

src/file_util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ mod util_tests {
287287
fn filesystem_timestamp_test() {
288288
let path = PathBuf::from("test/media/10x10.png");
289289

290-
let timestamp = get_file_timestamp(&path).unwrap();
290+
let _timestamp = get_file_timestamp(&path).unwrap();
291291

292292
// assert_eq!(timestamp, NaiveDate::from_ymd(2018, 5, 31).and_hms(20, 39, 56));
293293
}

0 commit comments

Comments
 (0)