mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 10:27:42 +02:00
cors: hide service struct from docs (#118)
This hides `CorsMiddleware` from rustdocs, following the pattern of the rest of `actix_web::middleware` implementations.
This commit is contained in:
@ -21,6 +21,7 @@ use crate::Inner;
|
||||
///
|
||||
/// This struct contains the settings for CORS requests to be validated and for responses to
|
||||
/// be generated.
|
||||
#[doc(hidden)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct CorsMiddleware<S> {
|
||||
pub(crate) service: S,
|
||||
|
Reference in New Issue
Block a user