From 6238190b5441b283df4fdb49078cccf420b512a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kav=C3=ADk?= Date: Fri, 19 Jun 2020 11:44:19 +0200 Subject: [PATCH] docs: Remove combinators comment from response.rs --- src/browser/fetch/response.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/browser/fetch/response.rs b/src/browser/fetch/response.rs index 343e84d36..2fac10746 100644 --- a/src/browser/fetch/response.rs +++ b/src/browser/fetch/response.rs @@ -66,15 +66,6 @@ impl Response { /// /// ``` /// - /// Or with combinators: - /// - /// ```rust - /// fetch(url) - /// .map(|result| result.and_then(Response::check_status)) - /// .and_then(Response.json) - /// .map(Msg::Fetched) - /// ``` - /// /// # Errors /// Returns `FetchError::StatusError` if status isn't 2xx. pub fn check_status(self) -> Result {