Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
acedogblast committed Nov 21, 2023
1 parent 578360e commit aea0f7f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions examples/send_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@

use std::net::SocketAddr;

use hyper::server::conn::http1;
use tokio::{
net::TcpListener,
fs::File,
};
use tokio_util::io::ReaderStream;
use bytes::Bytes;
use futures_util::TryStreamExt;
use http_body_util::{combinators::BoxBody, BodyExt, Full, StreamBody};
use hyper::body::Frame;
use bytes::Bytes;
use http_body_util::{Full, StreamBody, BodyExt, combinators::BoxBody};
use hyper::server::conn::http1;
use hyper::service::service_fn;
use hyper::{Method, Request, Response, Result, StatusCode};
use tokio::{fs::File, net::TcpListener};
use tokio_util::io::ReaderStream;

#[path = "../benches/support/mod.rs"]
mod support;
Expand Down

0 comments on commit aea0f7f

Please sign in to comment.