Skip to content

Commit

Permalink
Silence new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-jplatte committed May 16, 2024
1 parent 256328f commit 4a213e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/svix-server/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ struct PendingDispatch {
created_at: DateTimeUtc,
}

// Clippy fails to compute the first variant's size, stating it as
// "at least 0 bytes". They're actually very similar in size.
#[allow(clippy::large_enum_variant)]
enum CompletedDispatch {
Failed(FailedDispatch),
Successful(SuccessfulDispatch),
Expand Down

0 comments on commit 4a213e0

Please sign in to comment.