From eb58a8692c7cc043391c119947bb9b7ae485007b Mon Sep 17 00:00:00 2001 From: Cameron Dershem Date: Fri, 28 Jun 2019 14:22:51 -0400 Subject: [PATCH] Makes clippy happy. --- examples/errors/src/main.rs | 2 +- examples/flexible-responders/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/errors/src/main.rs b/examples/errors/src/main.rs index 5c5a69a..f2d1762 100644 --- a/examples/errors/src/main.rs +++ b/examples/errors/src/main.rs @@ -4,7 +4,7 @@ pub mod recommend_one; pub mod recommend_two; // -use actix_web::{error, HttpRequest, Result}; +use actix_web::{error, Result}; use failure::Fail; #[derive(Fail, Debug)] diff --git a/examples/flexible-responders/src/main.rs b/examples/flexible-responders/src/main.rs index 1459ca1..fd56f1e 100644 --- a/examples/flexible-responders/src/main.rs +++ b/examples/flexible-responders/src/main.rs @@ -1,4 +1,4 @@ -use actix_web::{web, App, HttpRequest, HttpServer, Responder}; +use actix_web::{web, App, HttpServer, Responder}; use serde::Serialize; //