Skip to content

Commit 5c9441b

Browse files
author
Jorge Aparicio
committed
rustfmt
1 parent 79aa408 commit 5c9441b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ fn main() {
4444
if let Some(peripheral) = d.peripherals
4545
.iter()
4646
.find(|x| x.name.to_ascii_lowercase() == pattern)
47-
.or(d.peripherals.iter().find(|x| x.name.to_ascii_lowercase().contains(&pattern))) {
47+
.or(d.peripherals
48+
.iter()
49+
.find(|x| x.name.to_ascii_lowercase().contains(&pattern))) {
4850
println!("{}",
4951
svd2rust::gen_peripheral(peripheral, &d.defaults)
5052
.iter()

0 commit comments

Comments
 (0)