diff --git a/crates/ruma-common/src/events/unsigned.rs b/crates/ruma-common/src/events/unsigned.rs index 29b76453..ec85e42c 100644 --- a/crates/ruma-common/src/events/unsigned.rs +++ b/crates/ruma-common/src/events/unsigned.rs @@ -128,18 +128,6 @@ impl StateUnsigned { prev_content, }) } - - pub fn _map_prev_content(&self, f: impl FnOnce(&C) -> T) -> StateUnsigned - where - T: StateEventContent, - { - StateUnsigned { - age: self.age, - transaction_id: self.transaction_id.clone(), - prev_content: self.prev_content.as_ref().map(f), - relations: self.relations.clone(), - } - } } impl Default for StateUnsigned {