From 6f94a825485b1d622d8ebe88ddf3e2f426d1c69c Mon Sep 17 00:00:00 2001 From: FxQnLr Date: Wed, 29 Nov 2023 15:48:26 +0100 Subject: update to axum 0.7 and cargo update --- src/wol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wol.rs') diff --git a/src/wol.rs b/src/wol.rs index 0cdcae3..8755b21 100644 --- a/src/wol.rs +++ b/src/wol.rs @@ -11,7 +11,7 @@ pub fn create_buffer(mac_addr: &str) -> Result, WebolError> { let mut mac = Vec::new(); let sp = mac_addr.split(':'); for f in sp { - mac.push(u8::from_str_radix(f, 16).map_err(WebolError::BufferParse)?) + mac.push(u8::from_str_radix(f, 16).map_err(WebolError::BufferParse)?); }; let mut buf = vec![255; 6]; for _ in 0..16 { -- cgit v1.2.3