style: simplify string formatting for readability (#4001)

This commit is contained in:
Hamir Mahal 2024-11-22 13:14:11 -08:00 committed by GitHub
parent dbcdb6f1b4
commit fc6cf89ac0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 18 additions and 17 deletions

View file

@ -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();