mirror of
https://github.com/actix/actix-website
synced 2024-11-27 18:12:57 +01:00
Minor tweaks
This commit is contained in:
parent
4521375534
commit
31630f61f8
@ -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" >}}
|
||||
|
||||
and initialize in in an App:
|
||||
and register the data in an App:
|
||||
|
||||
{{< include-example example="application" file="state.rs" section="make_app_mutable" >}}
|
||||
|
||||
|
@ -45,9 +45,9 @@ pub fn main() {
|
||||
})
|
||||
.route("/", web::get().to(index))
|
||||
})
|
||||
.bind("127.0.0.1:8088")
|
||||
.unwrap()
|
||||
.run()
|
||||
.unwrap();
|
||||
.bind("127.0.0.1:8088")
|
||||
.unwrap()
|
||||
.run()
|
||||
.unwrap();
|
||||
}
|
||||
// </start_app>
|
||||
|
Loading…
Reference in New Issue
Block a user