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 18 pull requests #40544

Closed
wants to merge 42 commits into from
Closed

Rollup of 18 pull requests #40544

wants to merge 42 commits into from

Commits on Mar 9, 2017

  1. Configuration menu
    Copy the full SHA
    13341f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2017

  1. Update usages of 'OSX' (and other old names) to 'macOS'.

    As of last year with version 'Sierra', the Mac operating system is now
    called 'macOS'.
    frewsxcv committed Mar 12, 2017
    Configuration menu
    Copy the full SHA
    97a1b6a View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2017

  1. some style fixes

    tshepang committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    b38992c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0644773 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6b7b262 View commit details
    Browse the repository at this point in the history
  4. Adjust wording rust-lang#40301

    projektir committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    eb203d5 View commit details
    Browse the repository at this point in the history
  5. fix format grammar

    llogiq committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    adba642 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5e49f79 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    11d3344 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2017

  1. Configuration menu
    Copy the full SHA
    8b9b3b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e06c515 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    327e8e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0dd03ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    137c1e8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e58e3d0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d3ae2eb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1545f4e View commit details
    Browse the repository at this point in the history
  9. Remove function invokation parens from documentation links.

    This was never established as a convention we should follow in the 'More
    API Documentation Conventions' RFC:
    
    https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
    frewsxcv committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    e7b0f2b View commit details
    Browse the repository at this point in the history
  10. A few improvements to the core::hash top-level docs.

    Primarily opened to address the concerns brought up in
    rust-lang#40498.
    
    * run rustfmt on code blocks
    * use `DefaultHasher` instead of deprecated `SipHasher`
    * rename `hash` to `calculate_hash` to prevent confusion with the `hash`
      method
    frewsxcv committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    5cc056a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0671cc1 View commit details
    Browse the repository at this point in the history
  12. Inline functions Ordering::{then, then_with}

    @jongiddy noticed bad performance due to the lack of inlining on `then`
    and `then_with`. I confirmed that inlining really is the culprit by
    creating a custom `then` function and repeating his benchmark on my
    machine with and without the `#[inline]` attribute.
    
    The numbers were exactly the same on my machine without the attribute.
    With `#[inline]` I got the same performance as I did with manually
    inlined implementation.
    Stjepan Glavina committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    8af3013 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    cc08edc View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8b7c7f3 View commit details
    Browse the repository at this point in the history
  15. Point out correct turbofish usage on Foo<Bar<Baz>>

    Whenever we parse a chain of binary operations, as long as the first
    operation is `<` and the subsequent operations are either `>` or `<`,
    present the following diagnostic help:
    
        use `::<...>` instead of `<...>` if you meant to specify type arguments
    
    This will lead to spurious recommendations on situations like
    `2 < 3 < 4` but should be clear from context that the help doesn't apply
    in that case.
    estebank committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    e3b8550 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2017

  1. Rollup merge of rust-lang#40387 - tbu-:pr_doc_ptr_write2, r=steveklabnik

    Reword the non-dropping of `src` for `ptr::write{,_unaligned}`
    
    @niconii Is it OK if I put your wording into the documentation?
    CC @nagisa
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    8ab12d7 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#40433 - mattico:test-issue-29595, r=estebank

    Add test for issue rust-lang#29595
    
    Closes rust-lang#29595
    
    Couldn't get this to run locally, all the compile-fail tests are ignored... let's see what Travis says.
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    bb1c465 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#40452 - frewsxcv:frewsxcv-unstable-docs, r=…

    …GuillaumeGomez
    
    Add basic documentation/examples for six unstable features.
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    c4db59f View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#40456 - frewsxcv:frewsxcv-docs-function-par…

    …ens, r=GuillaumeGomez
    
    Remove function invokation parens from documentation links.
    
    This was never established as a convention we should follow in the 'More
    API Documentation Conventions' RFC:
    
    https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    85f10d8 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#40457 - frewsxcv:frewsxcv-macos, r=stevekla…

    …bnik
    
    Update usages of 'OSX' (and other old names) to 'macOS'.
    
    As of last year with version 'Sierra', the Mac operating system is now
    called 'macOS'.
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    23c87ab View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#40463 - tshepang:nit, r=nikomatsakis

    some style fixes
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    499b104 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#40466 - projektir:outdated_docs_highlightin…

    …g, r=steveklabnik
    
    Remove doc about highlighting code in other languages rust-lang#40301
    
    This doesn't appear to be true any longer, so removing it to avoid confusion. See rust-lang#40301
    
    Thoughts:
    - may be a good idea to remove "Let's discuss the details of these code blocks.", as there's not much being discussed at this point;
    - does `text` still work?
    
    r? @steveklabnik
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    e62a282 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#40467 - projektir:readme_docs, r=steveklabnik

    Updating README.md to point to the correct doc location
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    d7ca11d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#40495 - llogiq:format-docs, r=steveklabnik

    fix format grammar
    
    This is just a trivial change to get the escaped squigglies into the grammar.
    
    r? @steveklabnik
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    488ad85 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40496 - projektir:docs_number_headings, r=f…

    …rewsxcv
    
    Using X headings rust-lang#39850
    
    Fix for issue rust-lang#39850, the headings should now be 1, 2, and 3.
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    430c607 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#40497 - wesleywiser:fix_sidebar, r=Guillaum…

    …eGomez
    
    Fix sidebar not extending to the bottom of the page
    
    Fixes rust-lang#40459
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    4aea360 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#40500 - estebank:turbofish-help, r=pnkfelix

    Point out correct turbofish usage on `Foo<Bar<Baz>>`
    
    Whenever we parse a chain of binary operations, as long as the first
    operation is `<` and the subsequent operations are either `>` or `<`,
    present the following diagnostic help:
    
        use `::<...>` instead of `<...>` if you meant to specify type arguments
    
    This will lead to spurious recommendations on situations like
    `2 < 3 < 4` but should be clear from context that the help doesn't apply
    in that case.
    
    Fixes rust-lang#40396.
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    d9d365d View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#40503 - swgillespie:thread-hack-removal, r=…

    …sfackler
    
    std: remove a workaround for privacy limitations
    
    `std::thread::Thread` implements a non-exported `NewThread` trait to allow for internal-only use of `Thread::new`. Nowadays we have `pub(crate)`, which accomplishes the same thing but much more idiomatically.
    
    Rustdoc handles this correctly (I checked and I didn't see `Thread::new` on the rustdoc entry for `Thread` with this change), and the stage1 `rustc` emits the correct error still (I'm assuming that the stage1 compiler uses my `libstd`?):
    
    ```
    $ ./build/x86_64-apple-darwin/stage1/bin/rustc test.rs
    error: method `new` is private
     --> test.rs:4:18
      |
    4 |     let thread = thread::Thread::new(None);
      |                  ^^^^^^^^^^^^^^^^^^^
    
    error: aborting due to previous error
    ```
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    16aa039 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#40505 - frewsxcv:hash-docs, r=alexcrichton

    A few improvements to the `core::hash` top-level docs.
    
    Primarily opened to address the concerns brought up in
    rust-lang#40498.
    
    * run rustfmt on code blocks
    * use `DefaultHasher` instead of deprecated `SipHasher`
    * rename `hash` to `calculate_hash` to prevent confusion with the `hash`
      method
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    cc1e513 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#40512 - nodakai:patch-1, r=alexcrichton

    .gitmodules: use official URLs w/o redirect
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    e56ef86 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#40514 - stjepang:inline-then-ordering, r=al…

    …excrichton
    
    Inline functions Ordering::{then, then_with}
    
    @jongiddy noticed bad performance due to the lack of inlining on `then`
    and `then_with`. I confirmed that inlining really is the culprit by
    creating a custom `then` function and repeating his benchmark on my
    machine with and without the `#[inline]` attribute.
    
    The numbers were exactly the same on my machine without the attribute.
    With `#[inline]` I got the same performance as I did with manually
    inlined implementation.
    
    The problem was reported in rust-lang#37053.
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    51738b3 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6bf3b36 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#40520 - steveklabnik:link-core-slice, r=ale…

    …xcrichton
    
    Link core::slice to std::slice
    frewsxcv authored Mar 15, 2017
    Configuration menu
    Copy the full SHA
    a2d2a97 View commit details
    Browse the repository at this point in the history