fix a clippy lint in latest Rust

This commit is contained in:
Damien Elmes 2021-10-02 14:13:49 +10:00
parent 8960017554
commit 4a0d242266

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)]