Fix clippy warnings
All checks were successful
Core Repos/ImageApi/pipeline/head This commit looks good
All checks were successful
Core Repos/ImageApi/pipeline/head This commit looks good
This commit is contained in:
@@ -27,7 +27,7 @@ fn is_image_or_video(path: &Path) -> bool {
|
||||
.extension()
|
||||
.unwrap_or_else(|| OsStr::new(""))
|
||||
.to_str()
|
||||
.unwrap_or_else(|| "")
|
||||
.unwrap_or("")
|
||||
.to_lowercase();
|
||||
|
||||
extension == "png"
|
||||
|
||||
Reference in New Issue
Block a user