From 8e56853c501b675da3675fa0d6ff3fd8a5ec7bbe Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 2 Oct 2021 14:13:49 +1000 Subject: [PATCH] fix a clippy lint in latest Rust --- rslib/src/collection/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/src/collection/mod.rs b/rslib/src/collection/mod.rs index 9bffaf5f7..b3eba5e63 100644 --- a/rslib/src/collection/mod.rs +++ b/rslib/src/collection/mod.rs @@ -75,7 +75,7 @@ pub(crate) fn open_and_check_collection(col_path: &Path) -> Result { 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)]