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 #21300

Merged
merged 21 commits into from
Jan 17, 2015
Merged

Rollup #21300

merged 21 commits into from
Jan 17, 2015

Commits on Jan 17, 2015

  1. Configuration menu
    Copy the full SHA
    868669f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2e277e View commit details
    Browse the repository at this point in the history
  3. Revert stability for Bitv and BitvSet

    The collections were promoted to stable by mistake and do not match RFC 509.
    This reverts the stability back to unstable.
    
    [breaking-change] since previously stable API became unstable.
    
    Fixes rust-lang#21193
    nagisa authored and steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    873ae55 View commit details
    Browse the repository at this point in the history
  4. Fix intro concurrency examples compilation warns

    * Use range notation instead of deprecated `range()`
    
    * Remove deprecated `u` integer suffixes used in ranges
    
    * Replace deprecated `i` integer suffixes with `is` for vector numbers
    
    `Thread::spawn()` still gives "use of unstable item" warning which I
    hadn't found a way to fix.
    raindev authored and steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    9ed27df View commit details
    Browse the repository at this point in the history
  5. Remove Thread::detach() call from intro example

    The mentioned method are no longer part of Thread. Spawned threads are
    detached by default as of now.
    raindev authored and steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    f772089 View commit details
    Browse the repository at this point in the history
  6. Replace obsolete constructions in into examples

    Replace deprecated integer suffixes. Remove integer type notations
    altogether where possible. Replace uses of deprecated `range()`
    function with range notation.
    raindev authored and steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    5f1ba93 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a03701d View commit details
    Browse the repository at this point in the history
  8. Evaluate # fn in docs

    I searched for times when we were hiding functions with # in the documentation,
    and fixed them to not use it unless neccesary.
    
    I also made random improvements whenever I changed something. For example,
    I changed Example to Examples, for consistency.
    
    Fixes rust-lang#13423
    steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    078bd49 View commit details
    Browse the repository at this point in the history
  9. Intpocalypse, book edition.

    Fix all usage of int/uint/i/u in the book.
    steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    899ffcf View commit details
    Browse the repository at this point in the history
  10. Bump LICENSE copyright year

    frewsxcv authored and steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    f979f91 View commit details
    Browse the repository at this point in the history
  11. Fix typo.

    Ms2ger authored and steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    0109cea View commit details
    Browse the repository at this point in the history
  12. Make Index trait example clearer

    The example of the `Index` and `IndexMut` trait contained too much `Foo`.
    It now contains a bit more `Bar` to make things clearer which parts are
    defining the type of the index.
    vmx authored and steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    f12e60a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d5091c9 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d1ab379 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    433ea0b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0296838 View commit details
    Browse the repository at this point in the history
  17. std: Move the bitflags! macro to a gated crate

    In accordance with [collections reform part 2][rfc] this macro has been moved to
    an external [bitflags crate][crate] which is [available though
    crates.io][cratesio]. Inside the standard distribution the macro has been moved
    to a crate called `rustc_bitflags` for current users to continue using.
    
    [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0509-collections-reform-part-2.md
    [crate]: https://github.com/rust-lang/bitflags
    [cratesio]: http://crates.io/crates/bitflags
    
    The major user of `bitflags!` in terms of a public-facing possibly-stable API
    today is the `FilePermissions` structure inside of `std::io`. This user,
    however, will likely no longer use `bitflags!` after I/O reform has landed. To
    prevent breaking APIs today, this structure remains as-is.
    
    Current users of the `bitflags!` macro should add this to their `Cargo.toml`:
    
        bitflags = "0.1"
    
    and this to their crate root:
    
        #[macro_use] extern crate bitflags;
    
    Due to the removal of a public macro, this is a:
    
    [breaking-change]
    alexcrichton authored and steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    34fa70f View commit details
    Browse the repository at this point in the history
  18. doc: Remove extra whitespace in the middle of lines to provide alignment

    "Idiomatic code should not use extra whitespace in the middle of a line to provide alignment."
    http://aturon.github.io/style/whitespace.html
    
    I realize the linked page still needs an RFC, but the docs should be written in accordance with the guidelines nevertheless.
    nhowell authored and steveklabnik committed Jan 17, 2015
    Configuration menu
    Copy the full SHA
    0c26524 View commit details
    Browse the repository at this point in the history
  19. docs: grammar fix

    Alfie John authored and steveklabnik committed Jan 17, 2015
    5 Configuration menu
    Copy the full SHA
    2c64023 View commit details
    Browse the repository at this point in the history
  20. fix rollup

    steveklabnik committed Jan 17, 2015
    5 Configuration menu
    Copy the full SHA
    69e9b46 View commit details
    Browse the repository at this point in the history
  21. Fix more rollup problems

    steveklabnik committed Jan 17, 2015
    7 Configuration menu
    Copy the full SHA
    6553c0f View commit details
    Browse the repository at this point in the history