fix: remove needless borrow flagged by clippy in rename.rs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Test
2026-03-11 19:14:29 +01:00
parent f2136f17ef
commit 3504bb221a

View File

@@ -414,7 +414,7 @@ pub fn rename_note(
let old_path_stem = to_path_stem(old_path, &vault_prefix);
let updated_files = update_wikilinks_in_vault(&WikilinkReplacement {
vault_path: vault,
old_title: &old_title,
old_title,
new_title,
old_path_stem,
exclude_path: &new_file,