From 9794fc00ec5c99c4e7ae49e897d66e2b92aab42d Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Tue, 3 Oct 2023 22:12:37 +0200 Subject: [PATCH] Code beautifying --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index f878ac6..f86891c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,11 +7,9 @@ const CLIENT_TIMEOUT: u32 = 300; const MY_SPEED: u8 = 30; fn strip_header(msg: &[u8]) -> Vec { - //print_msg(msg); let mut stripped = Vec::new(); stripped.push(msg[1] & 3); stripped.append(msg[2..].to_vec().as_mut()); - //print_msg(&stripped); stripped.to_owned() }