From 6a2bd20cebac4c443622b08b402638794a5e4631 Mon Sep 17 00:00:00 2001 From: Timo K Date: Fri, 20 Oct 2023 17:09:30 +0200 Subject: [PATCH] allow clippy::exhaustive_structs in MembershipInit Signed-off-by: Timo K --- crates/ruma-events/src/call/member.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruma-events/src/call/member.rs b/crates/ruma-events/src/call/member.rs index 64ed8eec..edfa3bdd 100644 --- a/crates/ruma-events/src/call/member.rs +++ b/crates/ruma-events/src/call/member.rs @@ -160,7 +160,7 @@ impl Membership { /// Initial set of fields of [`Membership`]. #[derive(Debug)] -#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] +#[allow(clippy::exhaustive_structs)] pub struct MembershipInit { /// The type of the matrixRTC session the membership belongs to. ///