misc: formatting

Signed-off-by: Stephen Waits <steve@waits.net>
This commit is contained in:
swaits committed 2023-02-07 21:37:29 -07:00
1 parent 3cf2f27569
commit 828efdda01
1 file changed
+3 -1
+3 -1
View File
@@ -24,7 +24,9 @@ fn load_planetlab_file(filename: &str) -> Vec<Vec<Duration>> {
.map(|line| { .map(|line| {
// ... // ...
line.split_whitespace() line.split_whitespace()
.map(|token| Duration::from_secs_f32(token.parse::<f32>().expect("parse error") / 1000.0)) .map(|token| {
Duration::from_secs_f32(token.parse::<f32>().expect("parse error") / 1000.0)
})
.collect() .collect()
}) })
.collect() .collect()