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