From a303a2e177f0ec6549109b405ddbe198212bcc29 Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Mon, 9 Jan 2017 16:56:56 -0800 Subject: [PATCH] Fix docs --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 75ce9f5..0c713e9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -47,7 +47,7 @@ use std::sync::Arc; /// type Error = http::Error; /// type Future = Box>; /// -/// fn call(&self, req: http::Request) -> Self::Fut { +/// fn call(&self, req: http::Request) -> Self::Future { /// // Create the HTTP response /// let resp = http::Response::ok() /// .with_body(b"hello world\n"); @@ -120,7 +120,7 @@ use std::sync::Arc; /// type Error = T::Error; /// type Future = Box>; /// -/// fn call(&self, req: Self::Req) -> Self::Fut { +/// fn call(&self, req: Self::Req) -> Self::Future { /// let timeout = self.timer.timeout(self.delay) /// .and_then(|timeout| Err(Self::Error::from(timeout))); ///