1
0
mirror of https://github.com/actix/actix-website synced 2024-12-18 01:43:59 +01:00

Minor tweaks

This commit is contained in:
Katherine Philip 2019-07-15 17:12:37 +07:00
parent 4521375534
commit 31630f61f8
2 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@ In the following example, we will write an application with mutable, shared stat
{{< include-example example="application" file="state.rs" section="setup_mutable" >}} {{< include-example example="application" file="state.rs" section="setup_mutable" >}}
and initialize in in an App: and register the data in an App:
{{< include-example example="application" file="state.rs" section="make_app_mutable" >}} {{< include-example example="application" file="state.rs" section="make_app_mutable" >}}

View File

@ -45,9 +45,9 @@ pub fn main() {
}) })
.route("/", web::get().to(index)) .route("/", web::get().to(index))
}) })
.bind("127.0.0.1:8088") .bind("127.0.0.1:8088")
.unwrap() .unwrap()
.run() .run()
.unwrap(); .unwrap();
} }
// </start_app> // </start_app>