Skip to content

Commit

Permalink
sniff: ooops missed required clone() with conditional compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed May 24, 2023
1 parent 2162659 commit b4a169f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/sniff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ pub async fn run(argv: &[&str]) -> CliResult<()> {
flexible: metadata.dialect.flexible,
is_utf8: metadata.dialect.is_utf8,
#[cfg(all(target_os = "linux", feature = "magic"))]
detected_mime: file_type,
detected_mime: file_type.clone(),
retrieved_size: sfile_info.retrieved_size,
file_size: sfile_info.file_size,
sampled_records: if sampled_records > num_records {
Expand Down

0 comments on commit b4a169f

Please sign in to comment.