diff --git a/src/main.rs b/src/main.rs index 674b7df..8121191 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,6 +20,10 @@ fn main() -> Result<(), std::io::Error> { } fn print_formatted(stations: &[weather::Station]) { - let s = stations.iter().map(|st| st.to_string()).collect::>().join(", "); + let s = stations + .iter() + .map(|st| st.to_string()) + .collect::>() + .join(", "); println!("{{{s}}}"); }