mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 03:21:08 +00:00
fix examples
This commit is contained in:
parent
c596f573a6
commit
bed72d9bb7
3 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::io;
|
||||
|
||||
use actix_http::{http::StatusCode, Error, HttpService, Request, Response};
|
||||
use actix_http::{Error, HttpService, Request, Response, StatusCode};
|
||||
use actix_server::Server;
|
||||
use bytes::BytesMut;
|
||||
use futures_util::StreamExt as _;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
use std::io;
|
||||
|
||||
use actix_http::{
|
||||
body::MessageBody, http::HeaderValue, http::StatusCode, Error, HttpService, Request,
|
||||
Response,
|
||||
body::MessageBody, header::HeaderValue, Error, HttpService, Request, Response,
|
||||
StatusCode,
|
||||
};
|
||||
use actix_server::Server;
|
||||
use bytes::BytesMut;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::{convert::Infallible, io};
|
||||
|
||||
use actix_http::{http::StatusCode, HttpService, Response};
|
||||
use actix_http::{HttpService, Response, StatusCode};
|
||||
use actix_server::Server;
|
||||
use http::header::HeaderValue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue