cargo fmt

This commit is contained in:
Will Greenberg
2025-07-16 17:33:10 -07:00
committed by Cooper Quintin
parent f273d28728
commit 5b59efa4c8
2 changed files with 8 additions and 6 deletions

View File

@@ -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<bool, std::io::Error> {
pub async fn analyze(&mut self, container: MessagesContainer) -> Result<bool, std::io::Error> {
let mut warning_detected = false;
for row in self.harness.analyze_qmdl_messages(container) {
if !row.is_empty() {

View File

@@ -145,11 +145,16 @@ impl RecordingStore {
where
P: AsRef<Path>,
{
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;