diff --git a/src/middleware/cors.rs b/src/middleware/cors.rs index b3b408108..2533da458 100644 --- a/src/middleware/cors.rs +++ b/src/middleware/cors.rs @@ -17,6 +17,7 @@ //! ```rust //! # extern crate http; //! # extern crate actix_web; +//! # use actix_web::*; //! use http::header; //! use actix_web::middleware::cors; //!