From 32d14f8df0a483265c13034b9d9fa3c0de2600a2 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Sat, 1 Nov 2025 14:28:04 -0400 Subject: [PATCH] tsk-205: Code cleanup --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 714ac50..e028386 100644 --- a/src/main.rs +++ b/src/main.rs @@ -423,12 +423,10 @@ mod tests { } mod util { - use std::usize; - pub async fn resp_to_bytes( response: axum::response::Response, ) -> Result { - axum::body::to_bytes(response.into_body(), usize::MAX).await + axum::body::to_bytes(response.into_body(), std::usize::MAX).await } pub async fn get_resp_data(response: axum::response::Response) -> Data