mirror of
https://github.com/actix/actix-website
synced 2025-08-31 00:50:20 +02:00
Suppress some warnings on CI (#143)
* Suppress some warnings on CI * Remove unused imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// <streaming>
|
||||
use actix_web::{error, web, Error, HttpResponse};
|
||||
use futures::{Future, Stream, StreamExt};
|
||||
use actix_web::{web, Error, HttpResponse};
|
||||
use futures::StreamExt;
|
||||
|
||||
async fn index(mut body: web::Payload) -> Result<HttpResponse, Error> {
|
||||
let mut bytes = web::BytesMut::new();
|
||||
|
@@ -1,5 +1,5 @@
|
||||
// <chunked>
|
||||
use actix_web::{web, HttpRequest, HttpResponse, Error};
|
||||
use actix_web::{HttpRequest, HttpResponse, Error};
|
||||
use bytes::Bytes;
|
||||
use futures::future::ok;
|
||||
use futures::stream::once;
|
||||
|
Reference in New Issue
Block a user