From 42514d75062817fad36bceffeb5cd9be5a82db3c Mon Sep 17 00:00:00 2001 From: alyx Date: Mon, 20 Nov 2023 17:58:25 -0500 Subject: clippy --- 2015/rs/code/one/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2015/rs/code/one/src') diff --git a/2015/rs/code/one/src/main.rs b/2015/rs/code/one/src/main.rs index d9e16e1..131cf87 100644 --- a/2015/rs/code/one/src/main.rs +++ b/2015/rs/code/one/src/main.rs @@ -1,4 +1,4 @@ -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, ')' => -1, _ => 0}); -- cgit v1.2.3-70-g09d2