diff --git a/src/tui/lib/interface/musicbrainz/daemon/mod.rs b/src/tui/lib/interface/musicbrainz/daemon/mod.rs index eda65c9..42eabaa 100644 --- a/src/tui/lib/interface/musicbrainz/daemon/mod.rs +++ b/src/tui/lib/interface/musicbrainz/daemon/mod.rs @@ -29,6 +29,10 @@ impl fmt::Display for Error { pub type MbApiResult = Result; pub type ResultSender = mpsc::Sender; +// The largest variant is Match(EntityMatches::Album(AlbumMatches)) since that contains both the +// ArtistId and Albumid. However, that is also the most common MbReturn expected. Therefore, we +// allow this large enum variant. +#[allow(clippy::large_enum_variant)] #[derive(Clone, Debug, PartialEq, Eq)] pub enum MbReturn { Match(EntityMatches),