From 9f64e21cf7d609b7281ac848db00b843f49a2889 Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Tue, 20 Sep 2022 21:17:47 +0200 Subject: [PATCH] Format using rustfmt --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 10ea3a9..1926484 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,10 +26,10 @@ fn main() { _ => {} } } - let neighbors: Vec = neighbors.iter().map(|node| node.index()).collect(); - for neighbor in neighbors { - print!("{} ", neighbor); - } + let neighbors: Vec = neighbors.iter().map(|node| node.index()).collect(); + for neighbor in neighbors { + print!("{} ", neighbor); + } println!(""); } }