From 022f9800edc1797bea746a16319392cc00620ff7 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 18 Apr 2018 10:49:03 -0700 Subject: [PATCH] formatting --- src/application.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {