1
0
mirror of https://github.com/actix/actix-website synced 2025-01-22 16:15:56 +01:00

Fix a slight typo

There was a "use" which should be "using".
This commit is contained in:
Daniel Rivas 2019-04-03 20:30:05 +01:00 committed by GitHub
parent 6fcf3a3b6c
commit a3c82fdab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`.
>