From 8480e0fc556abd03ae1626dddc672145779d2d80 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Fri, 16 May 2025 12:56:25 +0200 Subject: [PATCH] chore(ui): Allow `clippy::large_enum_variant` on `TimelineAction`. This enum is large, but it's used in a short period of time, not collected somewhere, so it's safe to accept a large size here. --- crates/matrix-sdk-ui/src/timeline/event_handler.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/matrix-sdk-ui/src/timeline/event_handler.rs b/crates/matrix-sdk-ui/src/timeline/event_handler.rs index f68b2758c..d781d7c7a 100644 --- a/crates/matrix-sdk-ui/src/timeline/event_handler.rs +++ b/crates/matrix-sdk-ui/src/timeline/event_handler.rs @@ -148,6 +148,7 @@ pub(super) enum HandleAggregationKind { /// An action that we want to cause on the timeline. #[derive(Clone, Debug)] +#[allow(clippy::large_enum_variant)] pub(super) enum TimelineAction { /// Add a new timeline item. ///