1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

Fix/suppress warnings

This commit is contained in:
Yuki Okushi
2020-04-03 16:14:30 +09:00
parent 0f1568bd3c
commit 8f1c0a85cf
19 changed files with 29 additions and 32 deletions

View File

@ -1,3 +1,6 @@
// Allow this lint since it's fine to use type directly in the short example.
#![allow(clippy::type_complexity)]
use std::error;
use std::pin::Pin;
use std::sync::{Arc, RwLock};
@ -7,7 +10,6 @@ use actix_rt::time::delay_for;
use actix_web::{middleware, web, App, Error, HttpResponse, HttpServer};
use bytes::Bytes;
use futures::{Future, FutureExt};
use serde_json;
use serde_json::Value;
#[allow(dead_code)]