Skip to content

Commit 123b71f

Browse files
uefi-test-runner: Fix uninlined_format_args in timestamp example
1 parent 70a63b8 commit 123b71f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

uefi-test-runner/examples/timestamp.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ pub fn test_timestamp() {
5151
.expect("Founded Timestamp Protocol but open failed");
5252
// ANCHOR: text
5353
let timestamp = timestamp_proto.get_timestamp();
54-
info!("Timestamp Protocol's timestamp: {:?}", timestamp);
54+
info!("Timestamp Protocol's timestamp: {timestamp:?}");
5555

5656
let properties = timestamp_proto.get_properties();
57-
info!("Timestamp Protocol's properties: {:?}", properties);
57+
info!("Timestamp Protocol's properties: {properties:?}");
5858
// ANCHOR_END: text
5959
}
6060
Err(err) => {
61-
warn!("Failed to found Timestamp Protocol: {:?}", err);
61+
warn!("Failed to found Timestamp Protocol: {err}");
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)