Skip to content

Commit f133ec3

Browse files
committed
Run cargo fmt
1 parent 8b2f441 commit f133ec3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ fn main() -> Result<(), std::io::Error> {
2020
}
2121

2222
fn print_formatted(stations: &[weather::Station]) {
23-
let s = stations.iter().map(|st| st.to_string()).collect::<Vec<String>>().join(", ");
23+
let s = stations
24+
.iter()
25+
.map(|st| st.to_string())
26+
.collect::<Vec<String>>()
27+
.join(", ");
2428
println!("{{{s}}}");
2529
}

0 commit comments

Comments
 (0)