fix a clippy lint in latest Rust

This commit is contained in:
Damien Elmes 2021-10-02 14:13:49 +10:00
parent 0000a3b302
commit 8e56853c50

View File

@ -75,7 +75,7 @@ pub(crate) fn open_and_check_collection(col_path: &Path) -> Result<Collection> {
use crate::log;
let tr = I18n::template_only();
let empty = Path::new("");
open_collection(col_path, &empty, &empty, true, tr, log::terminal())
open_collection(col_path, empty, empty, true, tr, log::terminal())
}
#[derive(Debug, Default)]