From 248eff90eb783492d2333a6d5a3ab1f71be7d5fe Mon Sep 17 00:00:00 2001 From: moy2010 Date: Thu, 12 Oct 2023 10:57:41 +0200 Subject: [PATCH] Fix Item associated type for Stream trait (#332) The documentation shows incorrect syntax --- docs/handlers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/handlers.md b/docs/handlers.md index 3bcab23..0906372 100644 --- a/docs/handlers.md +++ b/docs/handlers.md @@ -52,7 +52,7 @@ Let's create a response for a custom type that serializes to an `application/jso ## Streaming response body -Response body can be generated asynchronously. In this case, body must implement the stream trait `Stream`, i.e.: +Response body can be generated asynchronously. In this case, body must implement the stream trait `Stream>`, i.e.: