Skip to content

Commit 239b572

Browse files
committed
clippy
1 parent 172e0b2 commit 239b572

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/render.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,12 @@
4444
use crate::templates::SplitTemplate;
4545
use crate::webserver::http::RequestContext;
4646
use crate::webserver::response_writer::{AsyncResponseWriter, ResponseWriter};
47-
use crate::webserver::ErrorWithStatus;
4847
use crate::AppState;
4948
use actix_web::cookie::time::format_description::well_known::Rfc3339;
5049
use actix_web::cookie::time::OffsetDateTime;
5150
use actix_web::http::header::ContentType;
5251
use actix_web::http::{header, StatusCode};
53-
use actix_web::{HttpResponse, HttpResponseBuilder, ResponseError};
52+
use actix_web::{HttpResponse, HttpResponseBuilder};
5453
use anyhow::{bail, format_err, Context as AnyhowContext};
5554
use awc::cookie::time::Duration;
5655
use handlebars::{BlockContext, JsonValue, RenderError, Renderable};

src/webserver/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::AppState;
88
use actix_web::error::UrlencodedError;
99
use actix_web::http::{header, StatusCode};
1010
use actix_web::{HttpRequest, HttpResponse};
11-
use actix_web::{HttpResponseBuilder, ResponseError};
11+
use actix_web::HttpResponseBuilder;
1212
use handlebars::{Renderable, StringOutput};
1313
use serde_json::json;
1414

0 commit comments

Comments
 (0)