Skip to content

Commit

Permalink
fix: remove unneeded clone
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed Aug 17, 2023
1 parent 6e064fc commit f8afd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/afterfact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ fn emit_csv<W: std::io::Write>(
if prev_detect_infos.get(&fields).is_some() {

Check warning on line 366 in src/afterfact.rs

View check run for this annotation

Codecov / codecov/patch

src/afterfact.rs#L361-L366

Added lines #L361 - L366 were not covered by tests
continue;
}
prev_detect_infos.insert(fields.clone());
prev_detect_infos.insert(fields);

Check warning on line 369 in src/afterfact.rs

View check run for this annotation

Codecov / codecov/patch

src/afterfact.rs#L369

Added line #L369 was not covered by tests
}
if !detect_info.is_condition {
detected_record_idset.insert(CompactString::from(format!(
Expand Down

0 comments on commit f8afd8b

Please sign in to comment.