mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 13:56:30 +03:00
chore: apply beta clippy fixes
This commit is contained in:
@@ -93,7 +93,7 @@ impl<'a> BlobObject<'a> {
|
||||
if let Some(extension) = original_name.extension().filter(|e| e.len() <= 32) {
|
||||
let extension = extension.to_string_lossy().to_lowercase();
|
||||
let extension = sanitize_filename(&extension);
|
||||
format!("$BLOBDIR/{hash}.{}", extension)
|
||||
format!("$BLOBDIR/{hash}.{extension}")
|
||||
} else {
|
||||
format!("$BLOBDIR/{hash}")
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user