mirror of
https://github.com/openharmony/third_party_rust_hyper.git
synced 2026-07-19 22:03:50 -04:00
refactor(http1): fix for unused must_use on read_buf.split_to
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ where
|
||||
_ => break,
|
||||
}
|
||||
}
|
||||
self.read_buf.split_to(i);
|
||||
self.read_buf.advance(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user