address clippy::uninlined_format_args

This commit is contained in:
Anton Lazarev 2025-06-29 22:31:49 -07:00 committed by Henrik Tjäder
parent 42ebfe57f1
commit 1104a12ca3
3 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ fn stm32() {
println!("{}", p.name);
let port_letter = p.name.strip_prefix("GPIO").unwrap();
for pin_num in 0..16 {
singletons.push(format!("P{}{}", port_letter, pin_num));
singletons.push(format!("P{port_letter}{pin_num}"));
}
}