Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Multiple fixes to get rustup building #75

Merged
merged 8 commits into from Nov 30, 2016
Merged

Multiple fixes to get rustup building #75

merged 8 commits into from Nov 30, 2016

Commits on Nov 30, 2016

  1. Make Error a tuple again

    This is an ergonomic concern. When matching on an error-chain error
    it is more convenient to write
    
    ```
    match download_with_backend(backend, url, callback) {
        Err(Error(ErrorKind::BackendUnavailable(_), _)) => (),
        Err(e) => return Err(e),
        Ok(()) => return Ok(()),
    }
    ```
    
    than
    
    ```
    match download_with_backend(backend, url, callback) {
        Err(Error { kind: ErrorKind::BackendUnavailable(_), .. }) => (),
        Err(e) => return Err(e),
        Ok(()) => return Ok(()),
    }
    ```
    brson committed Nov 30, 2016
    Copy the full SHA
    71bf951 View commit details
    Browse the repository at this point in the history
  2. Reexport ResultExt

    brson committed Nov 30, 2016
    Copy the full SHA
    daef90d View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    92ace3a View commit details
    Browse the repository at this point in the history
  4. Add ErrorKind back to the links { } section to fix coherence issues

    Without this one cannot actually create links across crates.
    brson committed Nov 30, 2016
    Copy the full SHA
    a017ff8 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    df673bf View commit details
    Browse the repository at this point in the history
  6. Bump version to 0.7.0

    brson committed Nov 30, 2016
    Copy the full SHA
    facf306 View commit details
    Browse the repository at this point in the history
  7. Add more docs

    Especially about pattern matching.
    brson committed Nov 30, 2016
    Copy the full SHA
    f4f1934 View commit details
    Browse the repository at this point in the history
  8. Polish the quickstart.rs file

    brson committed Nov 30, 2016
    Copy the full SHA
    cd59947 View commit details
    Browse the repository at this point in the history