diff --git a/src/application.rs b/src/application.rs index 5c7b3c93c..268b10afe 100644 --- a/src/application.rs +++ b/src/application.rs @@ -180,10 +180,10 @@ where /// /// **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`. Application state does not - /// need to be `Send` and `Sync`. + /// 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`. Application + /// state does not need to be `Send` and `Sync`. pub fn with_state(state: S) -> App { App { parts: Some(ApplicationParts {