From 22cf28130f46a326b7e9e126c5016855cf869867 Mon Sep 17 00:00:00 2001 From: brooks Date: Thu, 5 Jan 2023 09:14:20 -0500 Subject: [PATCH] Fixes format string --- runtime/src/rent_collector.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runtime/src/rent_collector.rs b/runtime/src/rent_collector.rs index ca393596a1b994..ea0bea42b2008f 100644 --- a/runtime/src/rent_collector.rs +++ b/runtime/src/rent_collector.rs @@ -357,9 +357,7 @@ mod tests { let result = rent_collector.calculate_rent_result(&Pubkey::default(), &account, None); assert!( matches!(result, RentResult::Exempt), - "{:?}, set_exempt_rent_epoch_max: {}", - result, - set_exempt_rent_epoch_max, + "{result:?}, set_exempt_rent_epoch_max: {set_exempt_rent_epoch_max}", ); { let mut account_clone = account.clone();