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 10 pull requests #40950

Merged
merged 24 commits into from
Mar 31, 2017
Merged

Rollup of 10 pull requests #40950

merged 24 commits into from
Mar 31, 2017

Commits on Mar 26, 2017

  1. Implement AsRawFd/IntoRawFd for RawFd

    This is useful to build os abstraction like the nix crate does.
    It allows to define functions, which accepts generic arguments
    of data structures convertible to RawFd, including RawFd itself.
    For example:
    
      fn write<FD: AsRawFd>(fd: FD, buf: &[u8]) -> Result<usize>
    
    instead of:
    
      fn write(fd: RawFd, buf: &[u8]) -> Result<usize>
      write(foo.as_raw_fd(), buf);
    Mic92 committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    2cf686f View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2017

  1. Configuration menu
    Copy the full SHA
    2040dae View commit details
    Browse the repository at this point in the history
  2. Remove unused feature from error index generator

    Remove feature `rustdoc`.
    MaloJaffre committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    950d669 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    022bae8 View commit details
    Browse the repository at this point in the history
  4. adding ///

    rap2hpoutre authored Mar 29, 2017
    Configuration menu
    Copy the full SHA
    3ac27c3 View commit details
    Browse the repository at this point in the history
  5. Removing trailing spaces

    rap2hpoutre authored Mar 29, 2017
    Configuration menu
    Copy the full SHA
    5a7e9ad View commit details
    Browse the repository at this point in the history
  6. Improve os::linux documentation (rust-lang#29367)

    Camille TJHOA committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    b36cff5 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2017

  1. Update process.rs

    rap2hpoutre authored Mar 30, 2017
    Configuration menu
    Copy the full SHA
    1be84ce View commit details
    Browse the repository at this point in the history
  2. Add missing link in unstable-book

    add link to specialization's tracking issue
    DaseinPhaos authored Mar 30, 2017
    Configuration menu
    Copy the full SHA
    8804a4a View commit details
    Browse the repository at this point in the history
  3. adding debug in consume_body function

    When in debug_assertions=true mode, the function consume_body lacks some debug output, which makes it harder to follow the control flow. This commit adds this needed debug.
    GAJaloyan authored Mar 30, 2017
    Configuration menu
    Copy the full SHA
    f827054 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ea28196 View commit details
    Browse the repository at this point in the history
  5. cmp: Implement all PartialOrd methods for Reverse

    When making a forwarding wrapper we must in general forward all methods,
    so that we use the type's own `lt` for example instead of the default.
    
    Example important case: f32's partial_cmp does several operations but
    its lt is a primitive.
    bluss committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    6fda0fe View commit details
    Browse the repository at this point in the history
  6. Improve the docs for the write and writeln macros

    This change reduces duplication by linking the documentation for
    `writeln!` to `write!`. It also restructures the `write!` documentation
    to read in a more logical manner.
    
    Updates rust-lang#29329, rust-lang#29381
    SamWhited committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    b03edb4 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2017

  1. Sync all unstable features with Unstable Book; add tidy lint.

    Add a tidy lint that checks for...
    
    * Unstable Book sections with no corresponding SUMMARY.md links
    * unstable features that don't have Unstable Book sections
    * Unstable Book sections that don't have corresponding unstable features
    frewsxcv committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    eef2a95 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#40694 - frewsxcv:unstable-book-checker, r=s…

    …teveklabnik
    
    Sync all unstable features with Unstable Book; add tidy lint.
    
    Add a tidy lint that checks for...
    
    * Unstable Book sections with no corresponding SUMMARY.md links
    * unstable features that don't have Unstable Book sections
    * Unstable Book sections that don't have corresponding unstable features
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    d2128fd View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#40842 - Mic92:RawFd, r=aturon

    Implement AsRawFd/IntoRawFd for RawFd
    
    This is useful to build os abstraction like the nix crate does.
    It allows to define functions, which accepts generic arguments
    of data structures convertible to RawFd, including RawFd itself.
    For example:
    
    ```
    fn write<FD: AsRawFd>(fd: FD, buf: &[u8]) -> Result<usize>
    write(file, buf);
    ```
    instead of:
    ```
    fn write(fd: RawFd, buf: &[u8]) -> Result<usize>
    write(file.as_raw_fd(), buf);
    ```
    
    cc @kamalmarhubi
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    eeb075a View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#40869 - ctjhoa:master, r=steveklabnik

    Improve os::linux documentation (rust-lang#29367)
    
    Improve `os::linux` documentation according to rust-lang#29367
    
    r? @steveklabnik
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    7ccd0b9 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#40888 - wesleywiser:rustdoc_src_sidebar, r=…

    …GuillaumeGomez
    
    Make the rustdoc sidebar white on `src` pages
    
    Fixes rust-lang#40724
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    488a7b3 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#40898 - MaloJaffre:remove-unused-feature, r…

    …=alexcrichton
    
    Remove unused feature from error index generator
    
    Remove feature `rustdoc`.
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    5f1bb8f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#40904 - rap2hpoutre:patch-1, r=steveklabnik

    Add example to std::process::abort
    
    This is a first step in order to complete this issue: rust-lang#29370
    I submitted this PR with the help of @steveklabnik More info here: rust-lang#29370 (comment)
    
    It's my first PR on Rust, I'm learning how to contribute: Should I ping someone? I will post another PR with a more complicated example soon, I prefer send it separately (cause maybe I made some mistakes).
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    fe34818 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#40925 - DaseinPhaos:patch-5, r=steveklabnik

    Add missing link in unstable-book
    
    add link to specialization's tracking issue
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    4af41b4 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#40928 - GAJaloyan:patch-2, r=eddyb

    adding debug in consume_body function
    
    When in debug_assertions=true mode, the function consume_body lacks some debug output, which makes it harder to follow the control flow. This commit adds this needed debug.
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    c650ed8 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40929 - bluss:full-reverse, r=alexcrichton

    Implement all PartialOrd methods for Reverse
    
    When making a forwarding wrapper we must in general forward all methods,
    so that we use the type's own `lt` for example instead of the default.
    
    Example important case: f32's partial_cmp does several operations but
    its lt is a primitive.
    
    Follow up on rust-lang#40720
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    d36b24d View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#40934 - SamWhited:improve_write_writeln_doc…

    …s, r=steveklabnik
    
    Improve the docs for the write and writeln macros
    
    This change reduces duplication by linking the documentation for
    `writeln!` to `write!`. It also restructures the `write!` documentation
    to read in a more logical manner (I hope; feedback would be welcome).
    
    Updates rust-lang#29329, rust-lang#29381
    frewsxcv authored Mar 31, 2017
    Configuration menu
    Copy the full SHA
    c34f533 View commit details
    Browse the repository at this point in the history