forked from wathiede/photosync
Exhaustive match. Accidentally submitted code that doesn't compile.
complie
This commit is contained in:
parent
7fb8a08118
commit
3952f9e1fb
@ -118,6 +118,8 @@ fn list_albums(
|
|||||||
(_, None) => continue,
|
(_, None) => continue,
|
||||||
// skip when the media item doesn't match the filter
|
// skip when the media item doesn't match the filter
|
||||||
(Some(title_filter), Some(title)) if !title_filter.is_match(&title) => continue,
|
(Some(title_filter), Some(title)) if !title_filter.is_match(&title) => continue,
|
||||||
|
// handle everything else
|
||||||
|
_ => {}
|
||||||
}
|
}
|
||||||
println!(
|
println!(
|
||||||
"album: {} {} ({} items)",
|
"album: {} {} ({} items)",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user