From 961969854353911be6207c05315d3b1bc86d9f0b Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Thu, 10 May 2018 13:04:56 -0700 Subject: [PATCH] doc string --- src/route.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/route.rs b/src/route.rs index 4ff3279eb..1322d1087 100644 --- a/src/route.rs +++ b/src/route.rs @@ -169,6 +169,8 @@ impl Route { } /// Set async handler function, use request extractor for parameters. + /// Also this method needs to be used if your handler function returns + /// `impl Future<>` /// /// ```rust /// # extern crate bytes;