Skip to content

Commit baa8b65

Browse files
committed
cargo fmt (more semicolons in 1.32)
1 parent 8237b0f commit baa8b65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rayon-demo/src/tsp/parser.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub fn parse_tsp_data(text: &str) -> Result<Graph, String> {
8080
return Err(format!(
8181
"line {}: never found DIMENSION header",
8282
data.line_num
83-
))
83+
));
8484
}
8585
};
8686
let mut graph = Graph::new(num_nodes);
@@ -105,7 +105,7 @@ pub fn parse_tsp_data(text: &str) -> Result<Graph, String> {
105105
"line {}: never found coordinate for node {}",
106106
data.line_num,
107107
i.index()
108-
))
108+
));
109109
}
110110
};
111111
for j in graph.all_nodes().filter(|&j| j != i) {
@@ -116,7 +116,7 @@ pub fn parse_tsp_data(text: &str) -> Result<Graph, String> {
116116
"line {}: never found coordinate for node {}",
117117
data.line_num,
118118
j.index()
119-
))
119+
));
120120
}
121121
};
122122

0 commit comments

Comments
 (0)