diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-10-12 22:25:25 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 22:25:25 +1100 |
commit | 26639b3bac463768c65f7fc40a1c53317549e1eb (patch) | |
tree | 4164b44e0530f6ec2d6316028aca65a04f320751 /cli/http_util.rs | |
parent | e877b36072039811066726ab1619e7b5142f5680 (diff) |
chore(cli): remove dead code (#7941)
Diffstat (limited to 'cli/http_util.rs')
-rw-r--r-- | cli/http_util.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cli/http_util.rs b/cli/http_util.rs index f54684f15..1a8fcab62 100644 --- a/cli/http_util.rs +++ b/cli/http_util.rs @@ -170,16 +170,6 @@ pub struct HttpBody { pos: usize, } -impl HttpBody { - pub fn from(body: Response) -> Self { - Self { - response: body, - chunk: None, - pos: 0, - } - } -} - impl AsyncRead for HttpBody { fn poll_read( self: Pin<&mut Self>, |