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 8 pull requests #42038

Merged
merged 16 commits into from
May 16, 2017
Merged

Rollup of 8 pull requests #42038

merged 16 commits into from
May 16, 2017

Commits on May 14, 2017

  1. Explain why thread::yield_now could be used.

    Felix Raimundo committed May 14, 2017
    Configuration menu
    Copy the full SHA
    a9cb094 View commit details
    Browse the repository at this point in the history
  2. Improve thread::Builder documentation.

    Part of rust-lang#29378 .
    
    - In particular explains *why* we would use the builder instead of
      the free function.
    - Changes the parent-child explanation for a spawned-caller.
    - Add link to `io::Result` in `thread::Builder`
    - Corrects the `thread::Builder::spawn` documentation.
    Felix Raimundo committed May 14, 2017
    Configuration menu
    Copy the full SHA
    a51777e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    93f78bc View commit details
    Browse the repository at this point in the history

Commits on May 15, 2017

  1. Make unsatisfied trait bounds note multiline

    Make diagnostic note for existing method with unsatisfied trait bounds
    multiline for cleaner output.
    
    ```
      = note: the method `count` exists but the following trait bounds were not satisfied:
              `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`
              `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>> [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator`
    
    Before:
    
    ```
      = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`, `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>>, [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator`
    ```
    estebank committed May 15, 2017
    Configuration menu
    Copy the full SHA
    c0d5aa8 View commit details
    Browse the repository at this point in the history
  2. Add links to the thread::LocalKey doc.

    Part of rust-lang#29378 .
    Felix Raimundo committed May 15, 2017
    Configuration menu
    Copy the full SHA
    f92bd3d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f4e1e1 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2017

  1. Typo

    faso committed May 16, 2017
    Configuration menu
    Copy the full SHA
    bf2e0c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a50784 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#41489 - estebank:trait-bounds-diagnosstic, …

    …r=arielb1
    
    Make unsatisfied trait bounds note multiline
    
    Make diagnostic note for existing method with unsatisfied trait bounds
    multiline for cleaner output.
    
    ```
      = note: the method `count` exists but the following trait bounds were not satisfied:
              `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`
              `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>> [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator`
    ```
    
    Before:
    
    ```
      = note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`, `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>>, [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator`
    ```
    Mark-Simulacrum committed May 16, 2017
    Configuration menu
    Copy the full SHA
    7a9cf92 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#41982 - gamazeps:thread-yield-now, r=Guilla…

    …umeGomez
    
    [Doc] Explain why `thread::yield_now` could be used.
    
    Part of rust-lang#29378.
    
    r? @steveklabnik
    Mark-Simulacrum committed May 16, 2017
    Configuration menu
    Copy the full SHA
    efe285e View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#41994 - gamazeps:thread-builder, r=Guillaum…

    …eGomez
    
    [Doc] Implrove `thread::Builder`'s doc.
    
    Part of rust-lang#29378 .
    
    - Explains *why* we would use the builder instead ofthe free function.
    - Changes the parent-child explanation for a spawned-caller in `thread::Builder::spawn`
    - Adds a link to `io::Result` in `thread::Builder`
    - Corrects the return type doc in `thread::Builder::spawn`
    
    r? @rust-lang/docs
    Mark-Simulacrum committed May 16, 2017
    Configuration menu
    Copy the full SHA
    18171a8 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#41995 - gamazeps:thread-localkey, r=frewsxcv

    [Doc] Add links to the `thread::LocalKey` doc.
    
    Part of rust-lang#29378 .
    
    I do not know exactly what should be done for the `cleanup` part, if you have any idea I'll gladly do it.
    
    r? @rust-lang/docs
    Mark-Simulacrum committed May 16, 2017
    Configuration menu
    Copy the full SHA
    4c72793 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#42001 - ollie27:rustdoc_extern_fn, r=Guilla…

    …umeGomez
    
    rustdoc: Display `extern "C" fn` instead of `extern fn`
    
    It was decided in rust-lang/style-team#52 to be explicit about the ABI so rustdoc should follow suit.
    Mark-Simulacrum committed May 16, 2017
    Configuration menu
    Copy the full SHA
    4bf0470 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#42005 - jseyfried:fix_macro_regression, r=nrc

    Fix regression in `macro_rules!` name matching
    
    Fixes rust-lang#41803.
    r? @nrc
    Mark-Simulacrum committed May 16, 2017
    Configuration menu
    Copy the full SHA
    6b4f3a7 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#42011 - rap2hpoutre:patch-5, r=GuillaumeGomez

    improve collapse toggle render (css)
    
    The `[-]` toggle for functions in docs _seems_ too big. It's just an impression, but it's something I noticed long time ago (maybe I have bad taste). I never thought to fix it, but, today I think: "Ok, why not suggest it.". Feel free to close without explanation!
    
    Preview changes below:
    
    From this:
    
    <img width="1003" alt="capture d ecran 2017-05-15 a 17 14 45" src="https://cloud.githubusercontent.com/assets/1575946/26064816/5c84de86-3992-11e7-976b-41c625cace0f.png">
    
    To this:
    
    <img width="996" alt="capture d ecran 2017-05-15 a 17 15 02" src="https://cloud.githubusercontent.com/assets/1575946/26064854/78325dac-3992-11e7-88f6-2c43db43421c.png">
    Mark-Simulacrum committed May 16, 2017
    Configuration menu
    Copy the full SHA
    c2bf210 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9678ad2 View commit details
    Browse the repository at this point in the history