Ignore a clippy lint
This commit is contained in:
parent
42cf4bf1e5
commit
a9a3de0458
@ -29,6 +29,10 @@ impl fmt::Display for Error {
|
||||
pub type MbApiResult = Result<MbReturn, MbApiError>;
|
||||
pub type ResultSender = mpsc::Sender<MbApiResult>;
|
||||
|
||||
// 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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user