style: simplify string formatting for readability (#4001)
This commit is contained in:
parent
dbcdb6f1b4
commit
fc6cf89ac0
7 changed files with 18 additions and 17 deletions
|
|
@ -1303,7 +1303,7 @@ mod tests {
|
|||
#[test]
|
||||
fn ensure_attrs_do_not_panic() {
|
||||
foreach_event!(|event: event::Event| {
|
||||
let _ = format!("{:?}", event);
|
||||
let _ = format!("{event:?}");
|
||||
});
|
||||
let _ = event::StartCause::Init.clone();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue