Skip to content

Commit

Permalink
chore(sdk): Make Clippy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Mar 3, 2025
1 parent 19127b7 commit 9d021a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/matrix-sdk/src/event_cache/room/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ mod private {
let room_version = self.room_version.clone();

for event in &events {
self.maybe_apply_new_redaction(&room_version, &event).await?;
self.maybe_apply_new_redaction(&room_version, event).await?;
}
}

Expand Down Expand Up @@ -1298,7 +1298,7 @@ mod private {
};

// Replace the redacted event by a redacted form, if we knew about it.
if let Some((location, position, target_event)) = self.find_event(&event_id).await? {
if let Some((location, position, target_event)) = self.find_event(event_id).await? {
// Don't redact already redacted events.
if let Ok(deserialized) = target_event.raw().deserialize() {
match deserialized {
Expand Down

0 comments on commit 9d021a8

Please sign in to comment.