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 26 pull requests #40596

Closed
wants to merge 72 commits into from
Closed

Rollup of 26 pull requests #40596

wants to merge 72 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
    5b7f330 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e06c515 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    327e8e9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0dd03ff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    137c1e8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e58e3d0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d3ae2eb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1545f4e View commit details
    Browse the repository at this point in the history
  10. 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
  11. 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
  12. Configuration menu
    Copy the full SHA
    0671cc1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9a7b789 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4d57d92 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5537955 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    bda57db View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6adbbfc View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    cc08edc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    8b7c7f3 View commit details
    Browse the repository at this point in the history
  20. 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
  21. Make docs required again

    brson committed Mar 14, 2017
    Configuration menu
    Copy the full SHA
    3554ff3 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2017

  1. Ammended minor documentation detail abour Unicode cases.

    Eric Findlay committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    18a8494 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f23d448 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b4a1b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f789955 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b60879a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    698c1bb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    86b48b2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    52d9682 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c2d2c2d View commit details
    Browse the repository at this point in the history
  10. rustbuild: Retry downloads of OpenSSL source

    We need this to compile Cargo and we download it at build time, but as like all
    other network requests it has a chance of failing. This commit moves the source
    of the tarball to a mirror (S3 seems semi-more-reliable most of the time) and
    also wraps the download in a retry loop.
    
    cc rust-lang#40474
    alexcrichton committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    5de0406 View commit details
    Browse the repository at this point in the history
  11. Fix documentation for Vec::dedup_by.

    The previous docstring was copied from dedup_by_key.
    kevinmehall committed Mar 15, 2017
    Configuration menu
    Copy the full SHA
    e66b3a2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0739ece View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3d8d376 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    befeb04 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2017

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

Commits on Mar 17, 2017

  1. Configuration menu
    Copy the full SHA
    bc6eecd View commit details
    Browse the repository at this point in the history
  2. 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 17, 2017
    Configuration menu
    Copy the full SHA
    8523680 View commit details
    Browse the repository at this point in the history
  3. 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 17, 2017
    Configuration menu
    Copy the full SHA
    3b1620b View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#40452 - frewsxcv:frewsxcv-unstable-docs, r=…

    …GuillaumeGomez
    
    Add basic documentation/examples for six unstable features.
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    74a7b4a View commit details
    Browse the repository at this point in the history
  5. 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 17, 2017
    Configuration menu
    Copy the full SHA
    cbbc012 View commit details
    Browse the repository at this point in the history
  6. 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 17, 2017
    Configuration menu
    Copy the full SHA
    3e059e9 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#40458 - frewsxcv:frewsxcv-osstr, r=Guillaum…

    …eGomez
    
    Add doc examples for `OsStr`, `OsString`.
    
    None
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    d173aea View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#40463 - tshepang:nit, r=nikomatsakis

    some style fixes
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    0d47a05 View commit details
    Browse the repository at this point in the history
  9. 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 17, 2017
    Configuration menu
    Copy the full SHA
    24fae27 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40467 - projektir:readme_docs, r=steveklabnik

    Updating README.md to point to the correct doc location
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    c8bfd18 View commit details
    Browse the repository at this point in the history
  11. 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 17, 2017
    Configuration menu
    Copy the full SHA
    804d079 View commit details
    Browse the repository at this point in the history
  12. 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 17, 2017
    Configuration menu
    Copy the full SHA
    35badeb View commit details
    Browse the repository at this point in the history
  13. 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 17, 2017
    Configuration menu
    Copy the full SHA
    c42e6da View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#40499 - ericfindlay:master, r=steveklabnik

    Corrected very minor documentation detail about Unicode and Japanese
    
    Japanese half-width and full-width romaji characters do have upper and lowercase according Unicode (but other Japanese characters do not). For example,
    ` assert_eq!('\u{FF21}'.to_lowercase().collect::<String>(),"\u{FF41}");`
    
    r? @steveklabnik
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    0226767 View commit details
    Browse the repository at this point in the history
  15. 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 17, 2017
    Configuration menu
    Copy the full SHA
    05bea71 View commit details
    Browse the repository at this point in the history
  16. 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 17, 2017
    Configuration menu
    Copy the full SHA
    b523cee View commit details
    Browse the repository at this point in the history
  17. 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 17, 2017
    Configuration menu
    Copy the full SHA
    7a71d64 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#40512 - nodakai:patch-1, r=alexcrichton

    .gitmodules: use official URLs w/o redirect
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    4e4e555 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    54ac08c View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#40520 - steveklabnik:link-core-slice, r=ale…

    …xcrichton
    
    Link core::slice to std::slice
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    ec3bff2 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#40526 - brson:docs-req, r=alexcrichton

    Make docs required again
    
    Completely untested. Fixes rust-lang/rustup#903
    
    r? @alexcrichton cc @steveklabnik
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    11788ea View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#40536 - kevinmehall:dedup_docs_for_dedup_by…

    …, r=steveklabnik
    
    Fix documentation for Vec::dedup_by.
    
    The previous docstring was copied from dedup_by_key.
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    ded289f View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#40538 - aturon:stab-1.17, r=alexcrichton

    Library stabilizations for 1.17
    
    Details of the stabilizations are available in the commits. Includes only library stabilizations; there are a couple of compiler stabilizations that should also be done for 1.17.
    
    Will need a beta backport, which I will create after approval.
    
    r? @alexcrichton
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    eba6c1f View commit details
    Browse the repository at this point in the history
  24. Rollup merge of rust-lang#40539 - clarcharr:no_default_path, r=alexcr…

    …ichton
    
    Removes Default for Box<Path>.
    
    This was not supposed to be added. cc @alexcrichton
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    bc91547 View commit details
    Browse the repository at this point in the history
  25. Rollup merge of rust-lang#40545 - alexcrichton:retry-download-openssl…

    …, r=nikomatsakis
    
    rustbuild: Retry downloads of OpenSSL source
    
    We need this to compile Cargo and we download it at build time, but as like all
    other network requests it has a chance of failing. This commit moves the source
    of the tarball to a mirror (S3 seems semi-more-reliable most of the time) and
    also wraps the download in a retry loop.
    
    cc rust-lang#40474
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    88a1234 View commit details
    Browse the repository at this point in the history
  26. Rollup merge of rust-lang#40562 - mbrubeck:bootstrap, r=alexcrichton

    Remove unused param from bootstrap::clean::rm_rf
    
    None
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    4e60bf4 View commit details
    Browse the repository at this point in the history
  27. Rollup merge of rust-lang#40586 - steveklabnik:add-unstable-sort-to-u…

    …nstable-book, r=frewsxcv
    
    add sort_unstable to unstable book
    
    cc rust-lang#40585
    frewsxcv authored Mar 17, 2017
    Configuration menu
    Copy the full SHA
    365ae32 View commit details
    Browse the repository at this point in the history