1
0
Fork 0
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:
Rob Ede 2021-12-05 23:23:36 +00:00
parent c596f573a6
commit bed72d9bb7
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
3 changed files with 4 additions and 4 deletions

View file

@ -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 _;

View file

@ -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;

View file

@ -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;