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 14 pull requests #48768

Merged
merged 45 commits into from
Mar 6, 2018
Merged

Rollup of 14 pull requests #48768

merged 45 commits into from
Mar 6, 2018

Commits on Feb 22, 2018

  1. First version

    pvdrz committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    238bb38 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2018

  1. add info about sync

    pvdrz committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    f9e049a View commit details
    Browse the repository at this point in the history
  2. remove redundant info

    pvdrz committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    58d1f83 View commit details
    Browse the repository at this point in the history
  3. cleaned trailing whitespaces

    pvdrz committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    43de01f View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2018

  1. Configuration menu
    Copy the full SHA
    5344b07 View commit details
    Browse the repository at this point in the history
  2. added link to sync containers

    pvdrz committed Feb 24, 2018
    Configuration menu
    Copy the full SHA
    ce3ad26 View commit details
    Browse the repository at this point in the history
  3. corrected grammar errors

    pvdrz committed Feb 24, 2018
    Configuration menu
    Copy the full SHA
    7ded7f7 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2018

  1. fixed links

    pvdrz committed Feb 25, 2018
    Configuration menu
    Copy the full SHA
    397ce8a View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. some grammar corrections

    pvdrz committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    9091584 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2018

  1. Add bitreverse intrinsic

    Amanieu committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    02e021b View commit details
    Browse the repository at this point in the history
  2. doc: no need for the references

    Also:
    - apply some rustfmt love
    - fix output of one example
    tshepang committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    df8dd3f View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Configuration menu
    Copy the full SHA
    e822e62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19c4771 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c70619 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f45f760 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f7693c0 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2018

  1. Optimize str::repeat

    sinkuu committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    08504fb View commit details
    Browse the repository at this point in the history
  2. Remove isize test

    flip1995 committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    15ecf06 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2018

  1. core: Stabilize FusedIterator

    FusedIterator is a marker trait that promises that the implementing
    iterator continues to return `None` from `.next()` once it has returned
    `None` once (and/or `.next_back()`, if implemented).
    
    The effects of FusedIterator are already widely available through
    `.fuse()`, but with stable `FusedIterator`, stable Rust users can
    implement this trait for their iterators when appropriate.
    bluss committed Mar 3, 2018
    Configuration menu
    Copy the full SHA
    bc651ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c7c23fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc33b25 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2018

  1. Add comments

    sinkuu committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    683bdc7 View commit details
    Browse the repository at this point in the history
  2. Avoid unnecessary calculation

    sinkuu committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    3d58543 View commit details
    Browse the repository at this point in the history
  3. Refactor contrived match.

    leoyvens committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    0b0e1b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1c191b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    16ac85c View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2018

  1. Remove a couple of isize references from hashmap docs

    Also fix a spelling mistake.
    tbu- committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    88f32d1 View commit details
    Browse the repository at this point in the history
  2. while let all the things

    leoyvens committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    2e7e68b View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2018

  1. Remove seemingly unused sugarise-doc-comments Python script.

    This Python script converts documentation comments from the
    `#[doc = "..."]` attribute to the `///` syntax. It was added six
    years ago, presumably to help with the transition when `///` was
    implemented and hasn't really been touched since. I don't think there's
    much value in keeping it around at this point.
    frewsxcv committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    2ec47e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24fb4b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88aec91 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#48403 - lukaslueg:casted, r=steveklabnik

    Fix spelling s/casted/cast/
    
    r? @GuillaumeGomez
    kennytm authored Mar 6, 2018
    Configuration menu
    Copy the full SHA
    43de95c View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#48432 - flip1995:lit_diag, r=oli-obk

    Suggest type for overflowing bin/hex-literals
    
    Fixes rust-lang#48073
    
    For hexadecimal and binary literals, which overflow, it gives an additional note to the warning message, like in this [comment](rust-lang#48073 (comment)).
    
    Additionally it will suggest a type (`X < Y`):
    - `iX`: if literal fits in `uX` => `uX`, else => `iY`
    - `-iX` => `iY`
    - `uX` => `uY`
    
    Exceptions: `isize`, `usize`. I don't think you can make a good suggestion here. The programmer has to figure it out on it's own in this case.
    
    r? @oli-obk
    kennytm authored Mar 6, 2018
    Configuration menu
    Copy the full SHA
    813ac2c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#48546 - GuillaumeGomez:raw-string-error-not…

    …e, r=estebank
    
    Raw string error note
    
    Fixes rust-lang#48395.
    
    I think this note should be helpful enough to solve the issue.
    kennytm authored Mar 6, 2018
    Configuration menu
    Copy the full SHA
    e3451f8 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#48573 - Amanieu:bitreverse2, r=sfackler

    Add functions for reversing the bit pattern in an integer
    
    I'm reviving PR rust-lang#32798 now that the LLVM issues have been resolved.
    
    > This adds the bitreverse intrinsic and adds a reverse_bits function to all integer types.
    kennytm authored Mar 6, 2018
    Configuration menu
    Copy the full SHA
    fe77f5d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#48590 - tshepang:more-simple, r=frewsxcv

    doc: no need for the reference
    
    Also, we are well within line length limit
    kennytm authored Mar 6, 2018
    Configuration menu
    Copy the full SHA
    6b8984d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#48657 - sinkuu:opt_str_repeat, r=dtolnay

    Optimize str::repeat
    
    Improves the performance of `str::repeat` by bulk copying. Here is the benchmarks of `"abcde".repeat(n)`:
    
    |`n`|old [ns/iter]|new [ns/iter]|diff [%]|
    ---|---|---|---
    |1|27.205|27.421|+0.794|
    |2|27.500|27.516|+0.0581|
    |3|27.923|27.648|-0.985|
    |4|31.206|30.145|-3.40|
    |5|35.144|31.861|-9.34|
    |7|43.131|34.621|-19.7|
    |10|54.945|36.203|-34.1|
    |100|428.31|52.895|-87.7|
    kennytm committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    46d629a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#48727 - leodasvacas:refactor-contrived-matc…

    …h, r=rkruppe
    
    Refactor contrived match.
    kennytm committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    57cfbea View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#48732 - debris:remove_powerpc64, r=alexcric…

    …hton
    
    Remove useless powerpc64 entry from ARCH_TABLE
    
    Hope, I understood the scope of the fix correctly. closes rust-lang#47737
    kennytm committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    178b2c4 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#48753 - tbu-:pr_hashmap_isize, r=BurntSushi

    Remove a couple of `isize` references from hashmap docs
    
    Also fix a spelling mistake.
    kennytm committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    7dc3f17 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#48754 - leodasvacas:while-let-all-the-thing…

    …s, r=rkruppe
    
    while let all the things
    kennytm committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    b691c52 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#48761 - frewsxcv:frewsxcv-rm-python, r=alex…

    …crichton
    
    Remove seemingly unused sugarise-doc-comments Python script.
    
    This Python script converts documentation comments from the
    `#[doc = "..."]` attribute to the `///` syntax. It was added six
    years ago, presumably to help with the transition when `///` was
    implemented and hasn't really been touched since. I don't think there's
    much value in keeping it around at this point.
    kennytm committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    fa374f9 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#48474 - christianpoveda:new_cell_docs, r=st…

    …eveklabnik
    
    New Cell docs
    
    This fixes rust-lang#44061
    kennytm committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    ee94252 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#48507 - GuillaumeGomez:cstr-note, r=stevekl…

    …abnik
    
    Add new warning for CStr::from_ptr
    
    Fixes rust-lang#48401.
    kennytm committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    ebc6d6e View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#47463 - bluss:fused-iterator, r=alexcrichton

    Stabilize FusedIterator
    
    FusedIterator is a marker trait that promises that the implementing
    iterator continues to return `None` from `.next()` once it has returned
    `None` once (and/or `.next_back()`, if implemented).
    
    The effects of FusedIterator are already widely available through
    `.fuse()`, but with stable `FusedIterator`, stable Rust users can
    implement this trait for their iterators when appropriate.
    
    Closes rust-lang#35602
    kennytm committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    8e3493d View commit details
    Browse the repository at this point in the history