more clean up

This commit is contained in:
Lucio Franco
2019-08-18 01:30:26 -04:00
parent b2a9ab97d7
commit ef87a558e7
12 changed files with 36 additions and 33 deletions
+1 -1
View File
@@ -1,10 +1,10 @@
#![feature(async_await)]
use http::Request;
use std::pin::Pin;
use std::task::{Context, Poll};
use tokio::net::TcpStream;
use tower_h2::Connection;
use std::pin::Pin;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
+1 -1
View File
@@ -2,9 +2,9 @@
use futures_util::future;
use http::{Request, Response};
use std::pin::Pin;
use std::task::{Context, Poll};
use tokio::net::TcpListener;
use std::pin::Pin;
use tower_h2::{RecvBody, Server};
use tower_service::Service;