aboutsummaryrefslogtreecommitdiff
path: root/rtic-monotonics
diff options
context:
space:
mode:
authorAnton Lazarev <antonok35@gmail.com>2025-06-29 22:31:49 -0700
committerHenrik Tjäder <henrik@tjaders.com>2025-06-30 19:09:23 +0000
commit1104a12ca3de42cffd037df0969fb3723f599057 (patch)
tree29026d0be23399b189d6c68ca017594d0ee690cc /rtic-monotonics
parent42ebfe57f1268485da7057d7e1cbaad866ad2088 (diff)
address clippy::uninlined_format_args
Diffstat (limited to 'rtic-monotonics')
-rw-r--r--rtic-monotonics/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtic-monotonics/build.rs b/rtic-monotonics/build.rs
index 12d236e..09b199c 100644
--- a/rtic-monotonics/build.rs
+++ b/rtic-monotonics/build.rs
@@ -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}"));
}
}