1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +01: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 std::io;
use actix_http::{http::StatusCode, Error, HttpService, Request, Response}; use actix_http::{Error, HttpService, Request, Response, StatusCode};
use actix_server::Server; use actix_server::Server;
use bytes::BytesMut; use bytes::BytesMut;
use futures_util::StreamExt as _; use futures_util::StreamExt as _;

View File

@ -1,8 +1,8 @@
use std::io; use std::io;
use actix_http::{ use actix_http::{
body::MessageBody, http::HeaderValue, http::StatusCode, Error, HttpService, Request, body::MessageBody, header::HeaderValue, Error, HttpService, Request, Response,
Response, StatusCode,
}; };
use actix_server::Server; use actix_server::Server;
use bytes::BytesMut; use bytes::BytesMut;

View File

@ -1,6 +1,6 @@
use std::{convert::Infallible, io}; use std::{convert::Infallible, io};
use actix_http::{http::StatusCode, HttpService, Response}; use actix_http::{HttpService, Response, StatusCode};
use actix_server::Server; use actix_server::Server;
use http::header::HeaderValue; use http::header::HeaderValue;