Skip to content

Commit 88ee196

Browse files
committed
clippy
1 parent 1416ff0 commit 88ee196

File tree

1 file changed

+1
-1
lines changed
  • crates/matrix-sdk/src/widget/machine

1 file changed

+1
-1
lines changed

crates/matrix-sdk/src/widget/machine/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl WidgetMachine {
291291
// This is mapped to another type because the update_delay_event::Response
292292
// does not impl Serialize
293293
result
294-
.map(|r| Into::<UpdateDelayedEventResponse>::into(r))
294+
.map(Into::<UpdateDelayedEventResponse>::into)
295295
.map_err(|e| FromWidgetErrorResponse::from_error(&e)),
296296
)]
297297
});

0 commit comments

Comments
 (0)