diff --git a/actix_session/index.html b/actix_session/index.html index fc6703733..8c111851d 100644 --- a/actix_session/index.html +++ b/actix_session/index.html @@ -28,7 +28,7 @@ modifying session data.
Ok("Welcome!") } -#[actix_rt::main] +#[actix_web::main] async fn main() -> std::io::Result<()> { HttpServer::new( || App::new() diff --git a/src/actix_session/lib.rs.html b/src/actix_session/lib.rs.html index a62c3fce4..dc3e7bae7 100644 --- a/src/actix_session/lib.rs.html +++ b/src/actix_session/lib.rs.html @@ -411,7 +411,7 @@ //! Ok("Welcome!") //! } //! -//! #[actix_rt::main] +//! #[actix_web::main] //! async fn main() -> std::io::Result<()> { //! HttpServer::new( //! || App::new()