diff --git a/crates/ruma-common/src/events/state_key.rs b/crates/ruma-common/src/events/state_key.rs index b7e24030..64b90f18 100644 --- a/crates/ruma-common/src/events/state_key.rs +++ b/crates/ruma-common/src/events/state_key.rs @@ -4,7 +4,7 @@ use serde::{ }; /// A type that can be used as the `state_key` for event types where that field is always empty. -#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)] +#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord)] #[allow(clippy::exhaustive_structs)] pub struct EmptyStateKey;