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 19 pull requests #41086

Merged
merged 50 commits into from
Apr 5, 2017
Merged

Rollup of 19 pull requests #41086

merged 50 commits into from
Apr 5, 2017

Commits on Mar 31, 2017

  1. Configuration menu
    Copy the full SHA
    5a6ebdf View commit details
    Browse the repository at this point in the history
  2. Improve some docs for VecDeque

    Stjepan Glavina committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    d7b3f05 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    44d8b23 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2017

  1. Add links and examples to std::sync::mpsc docs (rust-lang#29377)

    This change adds links to to `Receiver`, `Iter`, `TryIter`, `IntoIter`,
    `Sender`, `SyncSender`, `SendError`, `RecvError`, `TryRecvError`,
    `RecvTimeoutError`, `TrySendError`, `Sender::send`, `SyncSender::send`,
    `SyncSender::try_send`, `Receiver::recv`, `Receiver::recv_timeout`,
    `Receiver::iter`, and `Receiver::try_iter`.
    
    Examples added to `Receiver`, `Sender`, `Receiver::iter`.
    Technius committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    89c35ae View commit details
    Browse the repository at this point in the history
  2. Change wording for push_front

    Stjepan Glavina committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    1e2a61d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae8ba78 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5198072 View commit details
    Browse the repository at this point in the history
  5. Fix warnings in examples

    Technius committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    dab8e81 View commit details
    Browse the repository at this point in the history
  6. Clean up std::ascii sub-level docs.

    * Change `utf8` variable names to `non_ascii` to be more clear, since
    ASCII and UTF-8 are compatible.
    
    * Fix `EscapeDefault` struct description to follow the typical iterator
    method format with a link to the generating function.
    
    * Add more `escape_default` examples to cover every case mentioned in
    the function description itself.
    Eugene Bulkin committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    d8fb322 View commit details
    Browse the repository at this point in the history
  7. Add more std::ascii module-level docs.

    Eugene Bulkin committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    a5d775d View commit details
    Browse the repository at this point in the history
  8. rustc: Stabilize the #![windows_subsystem] attribute

    This commit stabilizes the `#![windows_subsystem]` attribute which is a
    conservative exposure of the `/SUBSYSTEM` linker flag on Widnows platforms. This
    is useful for creating applications as well as console programs.
    
    Closes rust-lang#37499
    alexcrichton committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    34cf288 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    364241c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    128a313 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    029ace4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c414628 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2017

  1. Configuration menu
    Copy the full SHA
    4c9f8ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff4febf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    509ef4c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    255d919 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2017

  1. Revert "Implement AsRawFd/IntoRawFd for RawFd"

    This reverts commit 2cf686f (rust-lang#40842)
    
    RawFd is a type alias for c_int, which is itself a type alias for i32.
    As a result, adding AsRawFd and IntoRawFd impls for RawFd actually adds
    them for i32.
    
    As a result, the reverted commit makes this valid:
    
    ```
    use std::os::unix::io::AsRawFd;
    
    fn arf<T: AsRawFd>(_: T) {}
    
    fn main() {
        arf(32i32)
    }
    ```
    
    Implimenting AsRawFd and IntoRawFd for i32 breaks the promises of both
    those traits that their methods return a valid RawFd.
    
    r? @aturon
    cc @Mic92 @kamalmarhubi
    codyps committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    9c1b7ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f74ca38 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7c2160 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a07a73 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5787808 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b02cb19 View commit details
    Browse the repository at this point in the history
  7. Fix styling issues

    Technius committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    ab4f442 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2017

  1. Configuration menu
    Copy the full SHA
    3409f8d View commit details
    Browse the repository at this point in the history
  2. Fix links

    part of rust-lang#40912
    
    []\n() is not actually a link.
    steveklabnik committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    086627e View commit details
    Browse the repository at this point in the history
  3. travis: Update sccache binaries

    I've tracked down what I believe is the last spurious sccache failure on rust-lang#40240
    to behavior in mio (tokio-rs/mio#583), and this commit updates the binaries to
    a version which has that fix incorporated.
    alexcrichton committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    e60ea55 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2017

  1. Configuration menu
    Copy the full SHA
    b5cedb7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    201b1a9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#40608 - GuillaumeGomez:mutex-doc-inconsiste…

    …ncy, r=steveklabnik
    
    Fix mutex's docs inconsistency
    
    Fixes rust-lang#40176.
    
    r? @steveklabnik
    cc @rust-lang/docs
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    ca37f1a View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#40870 - alexcrichton:stabilize-windows-subs…

    …ystem, r=aturon
    
    rustc: Stabilize the `#![windows_subsystem]` attribute
    
    This commit stabilizes the `#![windows_subsystem]` attribute which is a
    conservative exposure of the `/SUBSYSTEM` linker flag on Widnows platforms. This
    is useful for creating applications as well as console programs.
    
    Closes rust-lang#37499
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    0239880 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#40949 - stjepang:fix-vecdeque-docs, r=frewsxcv

    Improve some docs for VecDeque
    
    r? @GuillaumeGomez
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    7412f70 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#40977 - projektir:BarrierWaitResult_doc, r=…

    …steveklabnik
    
    Updating the description for BarrierWaitResult rust-lang#29377
    
    Referencing `Barrier`, removing reference to `is_leader`.
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    1a9f415 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#40981 - Technius:master, r=steveklabnik

    Add links and some examples to std::sync::mpsc docs
    
    Addresses part of rust-lang#29377
    r? @steveklabnik
    
    I took a stab at adding links to the `std::sync::mpsc` docs, and I also wrote a few examples.
    
    Edit: Whoops, typed in `?r` instead of `r?`.
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    b0aefe3 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#40988 - eugene-bulkin:ascii-docs, r=frewsxcv

    API Docs: ascii
    
    Add/update docs for the `ascii` module per rust-lang#29341.
    
    r? @steveklabnik
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    469fe7a View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#40992 - donniebishop:utf8err_linking, r=ale…

    …xcrichton
    
    Added links to from_utf8 methods in Utf8Error
    
    Referencing  rust-lang#29375. Linked the `from_utf8` methods for both `String` and `str` in the description. Also linked the `u8` to its documentation
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    fd474f0 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40997 - donniebishop:from_utf8_linking, r=s…

    …teveklabnik
    
    Added links to types in from_utf8 description
    
    References rust-lang#29375. Link to types mentioned in the documentation for `from_utf8` (`str`, `&[u8`], etc). Paragraphs were reformatted to keep any one line from being excessively long, but are otherwise unchanged.
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    325848a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#40999 - irfanhudda:improve-option-docs, r=s…

    …teveklabnik
    
    Improve option API docs
    
    Associated Issue: rust-lang#29366
    
    Improve `option` API docs for
    * `IntoIter` struct
    * `Iter` struct
    * `IterMut` struct
    
    r? @steveklabnik
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    4ed4c41 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#41007 - pgerber:dir_builder, r=frewsxcv

    Improve documentation for `std::fs::DirBuilder`
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    263d5a0 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#41014 - SimonSapin:patch-6, r=frewsxcv

    std::thread docs: fix link to current()
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    56b6830 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#41019 - mandeep:fix-vec-swapremove-docs, r=…

    …BurntSushi
    
    Fixed typo in doc comments for swap_remove
    
    While reading the Vec docs, I came across the docs for swap_remove. I believe there is a typo in the comment and ```return``` should be ```returns```. This PR fixes this issue.
    
    I also feel that the entire doc comment is a bit of a run-on and could be changed to something along the lines of ```Removes an element from anywhere in the vector and returns it. The vector is mutated and the removed element is replaced by the last element of the vector. ```
    
    Thoughts?
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    5935fe4 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#41035 - jmesmon:revert-bad-raw-fd-impls, r=…

    …aturon
    
    Revert "Implement AsRawFd/IntoRawFd for RawFd"
    
    This reverts commit 2cf686f (rust-lang#40842)
    
    RawFd is a type alias for c_int, which is itself a type alias for i32.
    As a result, adding AsRawFd and IntoRawFd impls for RawFd actually adds
    them for i32.
    
    As a result, the reverted commit makes this valid:
    
    ```
    use std::os::unix::io::AsRawFd;
    
    fn arf<T: AsRawFd>(_: T) {}
    
    fn main() {
        arf(32i32)
    }
    ```
    
    Implimenting AsRawFd and IntoRawFd for i32 breaks the promises of both
    those traits that their methods return a valid RawFd.
    
    r? @aturon
    cc @Mic92 @kamalmarhubi
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    6251e4b View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#41043 - GuillaumeGomez:sup_balise, r=stevek…

    …labnik
    
    Replace ^ with <sup> html balise
    
    r? @steveklabnik
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    2213912 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#41049 - GuillaumeGomez:rustdoc-ordered-list…

    …, r=frewsxcv
    
    Handle ordered lists as well
    
    Part of rust-lang#40912.
    
    r? @rust-lang/docs
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    92875f3 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#41062 - estebank:private-field, r=arielb1

    Do not recommend private fields called as method
    
    ```rust
    error: no method named `dog_age` found for type `animal::Dog` in the current scope
      --> $DIR/private-field.rs:26:23
       |
    26 |     let dog_age = dog.dog_age();
       |                       ^^^^^^^ private field, not a method
    ```
    Fix rust-lang#27654.
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    1b6d25b View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#41066 - steveklabnik:fix-links, r=frewsxcv

    Fix links
    
    part of rust-lang#40912
    
    []\n() is not actually a link.
    
    r? @frewsxcv @GuillaumeGomez
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    f56b46c View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#41076 - alexcrichton:update-sccache, r=frew…

    …sxcv
    
    travis: Update sccache binaries
    
    I've tracked down what I believe is the last spurious sccache failure on rust-lang#40240
    to behavior in mio (tokio-rs/mio#583), and this commit updates the binaries to
    a version which has that fix incorporated.
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    d0d05f5 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#41085 - nagisa:fix-output-properg, r=alexcr…

    …ichton
    
    Properly adjust filenames when multiple emissions
    
    Fixes rust-lang#40993
    
    Should backport just fine to beta but not sure if we want to do this since this is quite old stable regression.
    frewsxcv authored Apr 5, 2017
    Configuration menu
    Copy the full SHA
    97a1f4b View commit details
    Browse the repository at this point in the history