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/four/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2015/rs/code/four') diff --git a/2015/rs/code/four/src/main.rs b/2015/rs/code/four/src/main.rs index 0888816..a7d2842 100644 --- a/2015/rs/code/four/src/main.rs +++ b/2015/rs/code/four/src/main.rs @@ -2,7 +2,7 @@ use md5::{Digest, Md5}; use std::fmt::Write; use std::io::Write as WriteI; -static INPUT: &'static [u8] = b"yzbqklnj"; +static INPUT: &[u8] = b"yzbqklnj"; fn main() { let mut buf = Vec::with_capacity(INPUT.len() + 10); -- cgit v1.2.3-70-g09d2