From 52a90390195e884bcc12ff5bd9fd805cac806447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E6=89=8B=E6=8E=89=E5=8C=85=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E5=B8=88?= Date: Wed, 16 Aug 2023 22:35:43 +0800 Subject: [PATCH] Remove useless commented code (#2178) Signed-off-by: hi-rustin --- axum/src/hyper1_tokio_io.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/axum/src/hyper1_tokio_io.rs b/axum/src/hyper1_tokio_io.rs index 40f1b2aa..474df412 100644 --- a/axum/src/hyper1_tokio_io.rs +++ b/axum/src/hyper1_tokio_io.rs @@ -102,7 +102,6 @@ where cx: &mut Context<'_>, tbuf: &mut tokio::io::ReadBuf<'_>, ) -> Poll> { - //let init = tbuf.initialized().len(); let filled = tbuf.filled().len(); let sub_filled = unsafe { let mut buf = hyper::rt::ReadBuf::uninit(tbuf.unfilled_mut());