mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 02:19:22 +02:00
Consistent import formatting (#237)
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
use actix_web::{http::StatusCode, HttpResponse, ResponseError};
|
||||
|
||||
use derive_more::{Display, Error};
|
||||
|
||||
/// Errors that can occur when processing CORS guarded requests.
|
||||
|
@ -1,3 +1,4 @@
|
||||
use actix_cors::Cors;
|
||||
use actix_utils::future::ok;
|
||||
use actix_web::dev::fn_service;
|
||||
use actix_web::{
|
||||
@ -11,8 +12,6 @@ use actix_web::{
|
||||
};
|
||||
use regex::bytes::Regex;
|
||||
|
||||
use actix_cors::Cors;
|
||||
|
||||
fn val_as_str(val: &HeaderValue) -> &str {
|
||||
val.to_str().unwrap()
|
||||
}
|
||||
|
Reference in New Issue
Block a user