Exhaustive match. Accidentally submitted code that doesn't compile.

complie
This commit is contained in:
Bill Thiede 2020-02-05 16:53:38 -08:00
parent 7fb8a08118
commit 3952f9e1fb

View File

@ -118,6 +118,8 @@ fn list_albums(
(_, None) => continue,
// skip when the media item doesn't match the filter
(Some(title_filter), Some(title)) if !title_filter.is_match(&title) => continue,
// handle everything else
_ => {}
}
println!(
"album: {} {} ({} items)",