Skip to content

Commit ca99977

Browse files
zecakehpoljar
authored andcommitted
ui: Inline format! args
Detected by lint clippy::uninlined_format_args. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
1 parent dd02274 commit ca99977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/matrix-sdk-ui/tests/integration/timeline/pagination.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ async fn test_skip_count_is_taken_into_account_in_pagination_status() {
199199
let mut events = Vec::new();
200200
for i in 0..30 {
201201
events.push(
202-
f.text_msg(format!("hello world {}", i))
203-
.event_id(&EventId::parse(format!("$ev{}", i)).unwrap()),
202+
f.text_msg(format!("hello world {i}"))
203+
.event_id(&EventId::parse(format!("$ev{i}")).unwrap()),
204204
);
205205
}
206206
events

0 commit comments

Comments
 (0)