Skip to content

Commit

Permalink
docs: Remove combinators comment from response.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKavik committed Jun 19, 2020
1 parent d514b21 commit 6238190
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/browser/fetch/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self> {
Expand Down

0 comments on commit 6238190

Please sign in to comment.