From 2b59803866ffd90fbcc5bc6799fb1d7de542ede8 Mon Sep 17 00:00:00 2001 From: "Arvid E. Picciani" Date: Sat, 16 Jun 2018 00:40:26 +0200 Subject: [PATCH] fix doc typo (#286) --- src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.rs b/src/server.rs index e37f402..799b3e4 100644 --- a/src/server.rs +++ b/src/server.rs @@ -932,7 +932,7 @@ impl SendResponse { /// used to stream the response body and send trailers. /// /// If a body or trailers will be sent on the returned [`SendStream`] - /// instance, then `end_of_stream` must be set to `true` when calling this + /// instance, then `end_of_stream` must be set to `false` when calling this /// function. /// /// The [`SendResponse`] instance is already associated with a received