appease clippy

This commit is contained in:
Will Greenberg
2025-07-15 14:43:21 -07:00
committed by Cooper Quintin
parent 0585e0f996
commit 1a4deb7524
2 changed files with 6 additions and 5 deletions
+5 -4
View File
@@ -40,9 +40,10 @@ struct Report {
impl Report {
fn new(file_path: &str) -> Self {
let mut report = Report::default();
report.file_path = file_path.to_string();
report
Report {
file_path: file_path.to_string(),
..Default::default()
}
}
fn process_row(&mut self, row: AnalysisRow) {
@@ -191,7 +192,7 @@ async fn main() {
for maybe_entry in WalkDir::new(&args.path) {
let Ok(entry) = maybe_entry else {
error!("failed to open dir entry {:?}", maybe_entry);
error!("failed to open dir entry {maybe_entry:?}");
continue;
};
let name = entry.file_name();
+1 -1
View File
@@ -200,7 +200,7 @@ impl Harness {
return row;
}
};
return row;
row
}
pub fn analyze_qmdl_messages(&mut self, container: MessagesContainer) -> Vec<AnalysisRow> {