diff --git a/crates/ruma-events/src/room/message.rs b/crates/ruma-events/src/room/message.rs index 10ffbddb..d769f56e 100644 --- a/crates/ruma-events/src/room/message.rs +++ b/crates/ruma-events/src/room/message.rs @@ -608,8 +608,6 @@ impl MessageType { if let Some(formatted) = formatted { formatted.sanitize_html(mode, remove_reply_fallback); } - // This is a false positive, see - #[allow(clippy::assigning_clones)] if remove_reply_fallback == RemoveReplyFallback::Yes { *body = remove_plain_reply_fallback(body).to_owned(); }