From a3c82fdab4d00fcc0b66197cf690895f2ea7a3f2 Mon Sep 17 00:00:00 2001 From: Daniel Rivas Date: Wed, 3 Apr 2019 20:30:05 +0100 Subject: [PATCH] Fix a slight typo There was a "use" which should be "using". --- content/docs/application.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/application.md b/content/docs/application.md index 965a6ea..7f96761 100644 --- a/content/docs/application.md +++ b/content/docs/application.md @@ -60,7 +60,7 @@ When the app is initialized it needs to be passed the initial state: > **Note**: http server accepts an application factory rather than an application > instance. Http server constructs an application instance for each thread, thus application state > must be constructed multiple times. If you want to share state between different threads, a -> shared object should be used, e.g. `Arc`. There is also an [Example](https://github.com/actix/examples/blob/master/state/src/main.rs) use `Arc` for this. Application state does not need to be `Send` and `Sync`, +> shared object should be used, e.g. `Arc`. There is also an [Example](https://github.com/actix/examples/blob/master/state/src/main.rs) using `Arc` for this. Application state does not need to be `Send` and `Sync`, > but the application factory must be `Send` + `Sync`. >