mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 23:38:20 +01:00
Remove useless commented code (#2178)
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
parent
e84a67e568
commit
52a9039019
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ where
|
||||||
cx: &mut Context<'_>,
|
cx: &mut Context<'_>,
|
||||||
tbuf: &mut tokio::io::ReadBuf<'_>,
|
tbuf: &mut tokio::io::ReadBuf<'_>,
|
||||||
) -> Poll<Result<(), std::io::Error>> {
|
) -> Poll<Result<(), std::io::Error>> {
|
||||||
//let init = tbuf.initialized().len();
|
|
||||||
let filled = tbuf.filled().len();
|
let filled = tbuf.filled().len();
|
||||||
let sub_filled = unsafe {
|
let sub_filled = unsafe {
|
||||||
let mut buf = hyper::rt::ReadBuf::uninit(tbuf.unfilled_mut());
|
let mut buf = hyper::rt::ReadBuf::uninit(tbuf.unfilled_mut());
|
||||||
|
|
Loading…
Reference in a new issue