1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 02:19:22 +02:00
This commit is contained in:
Rob Ede
2022-07-21 22:20:48 +01:00
parent 07c5176bd0
commit cfd16c5478
2 changed files with 5 additions and 5 deletions

View File

@ -15,6 +15,7 @@ use crate::{AllOrSome, CorsError};
#[derive(Clone)]
pub(crate) struct OriginFn {
#[allow(clippy::type_complexity)]
pub(crate) boxed_fn: Rc<dyn Fn(&HeaderValue, &RequestHead) -> bool>,
}