apply clippy lints

This commit is contained in:
freestrings
2019-06-25 18:58:25 +09:00
parent f5717d6d26
commit b910ed35f9
9 changed files with 401 additions and 412 deletions

View File

@ -31,7 +31,7 @@ pub fn read_contents(path: &str) -> String {
#[allow(dead_code)]
pub fn select_and_then_compare<'a>(path: &str, json: Value, target: Value) {
let mut selector = Selector::new();
let mut selector = Selector::default();
let result = selector
.str_path(path)
.unwrap()