Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 11 pull requests #35994

Closed
wants to merge 26 commits into from
Closed

Commits on Aug 20, 2016

  1. Configuration menu
    Copy the full SHA
    e4dd785 View commit details
    Browse the repository at this point in the history
  2. Note that formatters should not return spurious errors.

    Doing otherwise would break traits like `ToString`.
    Stebalien committed Aug 20, 2016
    Configuration menu
    Copy the full SHA
    f2655e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2016

  1. refactor range examples

    This pull request adds a module-level example of how all the range operators work. It also slims down struct-level examples in lieu of a link to module examples.
    
    add feature for inclusive_range_syntax
    
    fix incorrectly closed code fences
    matthew-piziak committed Aug 22, 2016
    Configuration menu
    Copy the full SHA
    31b7ff4 View commit details
    Browse the repository at this point in the history
  2. add links to interesting items in std::ptr documentation

    r? @steveklabnik
    
    add links for Box, Rc, and Vec
    matthew-piziak committed Aug 22, 2016
    Configuration menu
    Copy the full SHA
    33560ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a377adb View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2016

  1. Rust has type aliases, not typedefs.

    They're the same thing but it's better to keep the terminology consistent.
    Stebalien committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    c7d5f7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b400a43 View commit details
    Browse the repository at this point in the history
  3. accumulate vector and assert for RangeFrom and RangeInclusive examples

    PR rust-lang#35695 for `Range` was approved, so it seems that this side-effect-free style is preferred for Range* examples. This PR performs the same translation for `RangeFrom` and `RangeInclusive`. It also removes what looks to be an erroneously commented line for `#![feature(step_by)]`, and an unnecessary primitive-type annotation in `0u8..`.
    
    add `fn main` wrappers to enable Rust Playground "Run" button
    matthew-piziak committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    28f057d View commit details
    Browse the repository at this point in the history
  4. add more-evocative examples for Shl and Shr

    r? @steveklabnik
    
    add examples that lift `<<` and `>>` to a trivial struct
    
    replace `Scalar` structs with struct tuples
    
    add `fn main` wrappers to enable Rust Playground "Run" button
    matthew-piziak committed Aug 23, 2016
    Configuration menu
    Copy the full SHA
    ff3a761 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    711333f View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2016

  1. Updated code sample in chapter on syntax extensions.

    The affected API apparently had changed with commit d59accf.
    regexident committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    bf22a7a View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2016

  1. Make E0094 underline better

    Fixes rust-lang#35966.
    
    Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
    kyrias committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    6f93d3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    874a20d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    905644d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e4871c4 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#35758 - matthew-piziak:vec-assert-over-prin…

    …tln-remaining, r=GuillaumeGomez
    
    accumulate vector and assert for RangeFrom and RangeInclusive examples
    
    PR rust-lang#35695 for `Range` was merged, so it seems that this side-effect-free style is preferred for Range* examples. This PR performs the same translation for `RangeFrom` and `RangeInclusive`. It also removes what looks to be an erroneously commented line for `#![feature(step_by)]`, and an unnecessary primitive-type annotation in `0u8..`.
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    80571b8 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#35759 - matthew-piziak:refactor-range-examp…

    …les, r=steveklabnik
    
    refactor range examples
    
    This pull request adds a module-level example of how all the range operators work. It also slims down struct-level examples in lieu of a link to module examples.
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    3c2386b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#35786 - GuillaumeGomez:paths_doc, r=stevekl…

    …abnik
    
    Improve Path and PathBuf docs
    
    r? @steveklabnik
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    97b7813 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#35862 - Stebalien:fmt-docs, r=steveklabnik

    Clarify/fix formatting docs concerning fmt::Result/fmt::Error
    
    1. `fmt::Result` != `io::Result<()>`
    2. Formatters should only propagate errors, not return their own.
    
    Confusion on reddit: https://www.reddit.com/r/rust/comments/4yorxr/is_implt_tostring_for_t_where_t_display_sized_a/
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    04a53e5 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#35863 - matthew-piziak:shl-example, r=steve…

    …klabnik
    
    add evocative examples for `Shl` and `Shr`
    
    r? @steveklabnik
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    5729fc6 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#35880 - matthew-piziak:ptr-linking, r=steve…

    …klabnik
    
    add links to interesting items in `std::ptr` documentation
    
    r? @steveklabnik
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    8912567 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#35962 - regexident:compiler-plugin-docs, r=…

    …steveklabnik
    
    Updated code sample in chapter on syntax extensions.
    
    The affected API apparently had changed with commit d59accf.
    
    ---
    
    Further more I had to add
    
    ```toml
    [lib]
    name = "roman_numerals"
    crate-type = ["dylib"]
    ```
    
    to `Cargo.toml` as I otherwise got this compiler error (despite `#![crate_type="dylib"]`):
    
        [E0457]: plugin `roman_numerals` only found in rlib format, but must be available in dylib format
    
    Might be worth adding a note about that?
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    f8e05a7 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#35977 - frewsxcv:usize-isize, r=eddyb

    Rename {int,uint} methods to {isize,usize}.
    
    None
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    cc1b3d3 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#35980 - kyrias:E0094-underline, r=jonathand…

    …turner
    
    Make E0094 underline better
    
    r? @jonathandturner
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    e0ddf61 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#35985 - 0xmohit:pr/error-code-E0277, r=jona…

    …thandturner
    
    Update E0277 to new error format
    
    Fixes rust-lang#35311.
    Part of rust-lang#35233.
    
    r? @jonathandturner
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    eaa222d View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#35989 - 0xmohit:pr/error-code-E0453, r=jona…

    …thandturner
    
    Update E0453 to new error format
    
    Fixes rust-lang#35929.
    Part of rust-lang#35233.
    
    r? @jonathandturner
    steveklabnik committed Aug 25, 2016
    Configuration menu
    Copy the full SHA
    c1c6d6c View commit details
    Browse the repository at this point in the history