Skip to content

Commit 064e6f7

Browse files
committed
refactor(port_std): address the clippy::uninlined_format_args lint
1 parent b693c41 commit 064e6f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/r3_port_std/src/threading_unix.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ fn park_inner(data: &ThreadData) {
216216
// Interrupted while waiting. Try again.
217217
continue;
218218
}
219-
Ok(i) => panic!("unexpected return value: {}", i),
220-
Err(e) => panic!("failed to evict park token: {}", e),
219+
Ok(i) => panic!("unexpected return value: {i}"),
220+
Err(e) => panic!("failed to evict park token: {e}"),
221221
}
222222

223223
break;

0 commit comments

Comments
 (0)