From 31630f61f8fd2cb4de2d9f3367c840afeb179e32 Mon Sep 17 00:00:00 2001 From: Katherine Philip Date: Mon, 15 Jul 2019 17:12:37 +0700 Subject: [PATCH] Minor tweaks --- content/docs/application.md | 2 +- examples/application/src/state.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/docs/application.md b/content/docs/application.md index 1d6fb44..4ba4f27 100644 --- a/content/docs/application.md +++ b/content/docs/application.md @@ -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" >}} diff --git a/examples/application/src/state.rs b/examples/application/src/state.rs index 3ca179c..f5702b3 100644 --- a/examples/application/src/state.rs +++ b/examples/application/src/state.rs @@ -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(); } //