Run clippy fix
This commit is contained in:
1 parent
e9729e9956
commit
e2d6cd7258
19 files changed
+123
-158
No files matched your search
+3
-3
@@ -36,17 +36,17 @@ pub fn is_media_file(path: &Path) -> bool {
|
||||
|
||||
/// Check if a DirEntry is an image file (for walkdir usage)
|
||||
pub fn direntry_is_image(entry: &DirEntry) -> bool {
|
||||
is_image_file(&entry.path())
|
||||
is_image_file(entry.path())
|
||||
}
|
||||
|
||||
/// Check if a DirEntry is a video file (for walkdir usage)
|
||||
pub fn direntry_is_video(entry: &DirEntry) -> bool {
|
||||
is_video_file(&entry.path())
|
||||
is_video_file(entry.path())
|
||||
}
|
||||
|
||||
/// Check if a DirEntry is a media file (for walkdir usage)
|
||||
pub fn direntry_is_media(entry: &DirEntry) -> bool {
|
||||
is_media_file(&entry.path())
|
||||
is_media_file(entry.path())
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in new issue
Block a user