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;