Skip to content

Commit

Permalink
chore: rust fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Oct 31, 2024
1 parent d7db5ec commit 8a30864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ impl Config {
/// If the file extension doesn't match known types, it returns the default delimiter.
pub fn get_delim_by_extension(path: &Path, default_delim: u8) -> (String, u8, bool) {
let path_str = path.to_str().unwrap_or_default().to_ascii_lowercase();

// we already lowercased the path_str, so allow this false positive lint
#[allow(clippy::case_sensitive_file_extension_comparisons)]
let snappy = path_str.ends_with(".sz");
Expand Down

0 comments on commit 8a30864

Please sign in to comment.