From 5b59efa4c893ae68952b068c1d4bbad9aa5d52c6 Mon Sep 17 00:00:00 2001 From: Will Greenberg Date: Wed, 16 Jul 2025 17:33:10 -0700 Subject: [PATCH] cargo fmt --- daemon/src/analysis.rs | 5 +---- daemon/src/qmdl_store.rs | 9 +++++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/daemon/src/analysis.rs b/daemon/src/analysis.rs index 0710b1f..8118095 100644 --- a/daemon/src/analysis.rs +++ b/daemon/src/analysis.rs @@ -47,10 +47,7 @@ impl AnalysisWriter { // Runs the analysis harness on the given container, serializing the results // to the analysis file, returning the whether any warnings were detected - pub async fn analyze( - &mut self, - container: MessagesContainer, - ) -> Result { + pub async fn analyze(&mut self, container: MessagesContainer) -> Result { let mut warning_detected = false; for row in self.harness.analyze_qmdl_messages(container) { if !row.is_empty() { diff --git a/daemon/src/qmdl_store.rs b/daemon/src/qmdl_store.rs index 6550551..6a9395c 100644 --- a/daemon/src/qmdl_store.rs +++ b/daemon/src/qmdl_store.rs @@ -145,11 +145,16 @@ impl RecordingStore { where P: AsRef, { - let mut dir_entries = fs::read_dir(path.as_ref()).await + let mut dir_entries = fs::read_dir(path.as_ref()) + .await .map_err(RecordingStoreError::OpenDirError)?; let mut manifest_entries = Vec::new(); - while let Some(entry) = dir_entries.next_entry().await.map_err(RecordingStoreError::OpenDirError)? { + while let Some(entry) = dir_entries + .next_entry() + .await + .map_err(RecordingStoreError::OpenDirError)? + { let os_filename = entry.file_name(); let Some(filename) = os_filename.to_str() else { continue;