Fix small clippy warnings

This commit is contained in:
Sashanoraa
2025-03-25 18:17:23 -04:00
committed by Will Greenberg
parent b41f61bfa6
commit 4edf001ca4
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ async fn perform_analysis(
let (analysis_file, qmdl_file, entry_index) = {
let mut qmdl_store = qmdl_store_lock.write().await;
let (entry_index, _) = qmdl_store
.entry_for_name(&name)
.entry_for_name(name)
.ok_or(format!("failed to find QMDL store entry for {}", name))?;
let analysis_file = qmdl_store
.clear_and_open_entry_analysis(entry_index)