We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clippy::uninlined_format_args
1 parent 5c33532 commit 5872c7cCopy full SHA for 5872c7c
src/r3_test_runner/src/targets/jlink.rs
@@ -117,7 +117,7 @@ impl DebugProbe for Fe310JLinkDebugProbe {
117
for (path, (_, offset)) in section_files.iter().zip(regions.iter()) {
118
writeln!(cmd, "loadbin \"{}\" 0x{:08x}", path.display(), offset).unwrap();
119
}
120
- writeln!(cmd, "setpc 0x{:x}", entry).unwrap();
+ writeln!(cmd, "setpc 0x{entry:x}").unwrap();
121
writeln!(cmd, "g").unwrap();
122
writeln!(cmd, "q").unwrap();
123
0 commit comments