aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Berlin <xkr47@outerspace.dyndns.org>2020-09-05 21:11:13 +0300
committerJonas Berlin <xkr47@outerspace.dyndns.org>2020-09-05 21:11:13 +0300
commit838e77e03bea487d64aeee345f8c294fe392c389 (patch)
tree781a6c6c44d7477bd4a395bab9b37effa0644fd4
parent81e40e977550f77f941793a67bc97c9cb28ce469 (diff)
downloadperlweeklychallenge-club-838e77e03bea487d64aeee345f8c294fe392c389.tar.gz
perlweeklychallenge-club-838e77e03bea487d64aeee345f8c294fe392c389.tar.bz2
perlweeklychallenge-club-838e77e03bea487d64aeee345f8c294fe392c389.zip
Cleanup
-rw-r--r--challenge-076/xkr47/rust/ch-2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-076/xkr47/rust/ch-2.rs b/challenge-076/xkr47/rust/ch-2.rs
index ab6f8b75ae..4e21cdd096 100644
--- a/challenge-076/xkr47/rust/ch-2.rs
+++ b/challenge-076/xkr47/rust/ch-2.rs
@@ -61,7 +61,7 @@ impl SearchGrid {
let left_coords = (0..self.height).map(|y| (0isize, y)).collect::<Vec<_>>();
let top_coords = (0..self.width).map(|x| (x, 0isize)).collect::<Vec<_>>();
- let bottom_coords = (0..self.width).map(|x| (x, self.height - 1)).collect::<Vec<(isize, isize)>>();
+ let bottom_coords = (0..self.width).map(|x| (x, self.height - 1)).collect::<Vec<_>>();
let mut strings = left_coords.iter().skip(1).map(|coord| self.string_from(coord, (1, -1))).collect::<Vec<String>>();
strings.extend(left_coords.iter().map(|coord| self.string_from(coord, (1, 0))));