summaryrefslogtreecommitdiffstats
path: root/2015/rs/code/three/src
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2023-11-20 17:58:25 -0500
committeralyx <alyx@aleteoryx.me>2023-11-20 17:58:25 -0500
commit42514d75062817fad36bceffeb5cd9be5a82db3c (patch)
treec56ecede46a8f082edd504a28847f0737c2cf276 /2015/rs/code/three/src
parentb17f7207359cb2059dd7277f9ec816921147c485 (diff)
downloadadventofcode-42514d75062817fad36bceffeb5cd9be5a82db3c.tar.gz
adventofcode-42514d75062817fad36bceffeb5cd9be5a82db3c.tar.bz2
adventofcode-42514d75062817fad36bceffeb5cd9be5a82db3c.zip
clippy
Diffstat (limited to '2015/rs/code/three/src')
-rw-r--r--2015/rs/code/three/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/2015/rs/code/three/src/main.rs b/2015/rs/code/three/src/main.rs
index 770fc10..4e7d083 100644
--- a/2015/rs/code/three/src/main.rs
+++ b/2015/rs/code/three/src/main.rs
@@ -1,6 +1,6 @@
use std::collections::HashSet;
-static INPUT: &'static str = include_str!("input.txt");
+static INPUT: &str = include_str!("input.txt");
fn main() {
let valueified = INPUT.chars().map(|c| match c { '<' => (-1, 0), '>' => (1, 0), '^' => (0, 1), 'v' => (0, -1), _ => (0, 0) });