style(lib): run rustfmt and enforce in CI
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#![deny(warnings)]
|
||||
|
||||
use hyper::client::service::Connect;
|
||||
use hyper::client::conn::Builder;
|
||||
use hyper::client::connect::HttpConnector;
|
||||
use hyper::client::service::Connect;
|
||||
use hyper::service::Service;
|
||||
use hyper::{Body, Request};
|
||||
|
||||
@@ -14,7 +14,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
let uri = "http://127.0.0.1:8080".parse::<http::Uri>()?;
|
||||
|
||||
|
||||
let mut svc = mk_svc.call(uri.clone()).await?;
|
||||
|
||||
let body = Body::empty();
|
||||
|
||||
Reference in New Issue
Block a user