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 7 pull requests #67342

Merged
merged 22 commits into from
Dec 16, 2019
Merged

Rollup of 7 pull requests #67342

merged 22 commits into from
Dec 16, 2019

Commits on Nov 21, 2019

  1. Stabilize std::{rc,sync}::Weak::{weak_count, strong_count}

    Bryan Donlan committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    91ee3d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d0b283 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2019

  1. Configuration menu
    Copy the full SHA
    9badc33 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2019

  1. Fix unstable attribute accidentally applying to the entire impl

    Note `#![unstable]` v.s. `#[unstable]`
    SimonSapin committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    6ddcf50 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e2e0df View commit details
    Browse the repository at this point in the history
  3. Fix the tracking issue number for PanicInfo::message

    rust-lang#44489 was closed when the `#[panic_handler]` attribute was stabilized.
    SimonSapin committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    392e5a7 View commit details
    Browse the repository at this point in the history
  4. Stabilize the core::panic module

    `std::panic` is already stable.
    
    `core::panic::PanicInfo` and `core::panic::Location` are stable
    and can be used through that path because of a bug
    in stability checking: rust-lang#15702
    SimonSapin committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    eab1dc9 View commit details
    Browse the repository at this point in the history
  5. Fixed formatting issues

    SOF3 committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    4718e20 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. stabilize Result::map_or

    tesuji committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    8cae411 View commit details
    Browse the repository at this point in the history
  2. make use of Result::map_or

    tesuji committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    93438fd View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2019

  1. Configuration menu
    Copy the full SHA
    9778e03 View commit details
    Browse the repository at this point in the history
  2. Set tracking issue for str_strip

    SOF3 committed Dec 15, 2019
    Configuration menu
    Copy the full SHA
    6176051 View commit details
    Browse the repository at this point in the history
  3. fix doc comment

    lcnr committed Dec 15, 2019
    Configuration menu
    Copy the full SHA
    e28153e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8a5969d View commit details
    Browse the repository at this point in the history
  5. cleanup with push_fake_read

    Centril committed Dec 15, 2019
    Configuration menu
    Copy the full SHA
    2d96f20 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2019

  1. Rollup merge of rust-lang#65778 - bdonlan:stable_weak_count, r=dtolnay

    Stabilize `std::{rc,sync}::Weak::{weak_count, strong_count}`
    
    * Original PR: rust-lang#56696
    * Tracking issue: rust-lang#57977
    
    Closes: rust-lang#57977
    
    Supporting comments:
    
    > Although these were added for testing, it is occasionally useful to have a way to probe optimistically for whether a weak pointer has become dangling, without actually taking the overhead of manipulating atomics. Are there any plans to stabilize this?
    
    _Originally posted by @bdonlan in rust-lang#57977 (comment)
    
    > Having this stabilized would help. Currently, the only way to check if a weak pointer has become dangling is to call `upgrade`, which is by far expensive.
    
    _Originally posted by @glebpom in rust-lang#57977 (comment)
    
    Not sure if stabilizing these warrants a full RFC, so throwing this out here as a start for now.
    
    Note: per CONTRIBUTING.md, I ran the tidy checks, but they seem to be failing on unchanged files (primarily in `src/stdsimd`).
    Centril authored Dec 16, 2019
    Configuration menu
    Copy the full SHA
    c34ea91 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#66570 - lzutao:stabilize-result-map_or, r=D…

    …ylan-DPC
    
    stabilize Result::map_or
    
    r? @SimonSapin
    Closes rust-lang#66293
    Centril authored Dec 16, 2019
    Configuration menu
    Copy the full SHA
    84ef889 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#66735 - SOF3:feature/str_strip, r=KodrAus

    Add str::strip_prefix and str::strip_suffix
    
    Introduces a counterpart for `Path::strip_prefix` on `str`.
    
    This was also discussed in https://internals.rust-lang.org/t/pre-pr-path-strip-prefix-counterpart-in-str/11364/.
    Centril authored Dec 16, 2019
    Configuration menu
    Copy the full SHA
    1c12dc8 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#66771 - SimonSapin:panic-stability, r=KodrAus

    Stabilize the `core::panic` module
    
    `std::panic` is already stable.
    
    `core::panic::PanicInfo` and `core::panic::Location` are stable and can be used through that path because of a bug in stability checking: rust-lang#15702
    Centril authored Dec 16, 2019
    Configuration menu
    Copy the full SHA
    6b9bb74 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#67317 - lcnr:type_name_docs, r=jonas-schievink

    fix type_name_of_val doc comment
    
    .
    Centril authored Dec 16, 2019
    Configuration menu
    Copy the full SHA
    d182397 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#67324 - Centril:mir-build-match-doc-fix, r=…

    …matthewjasper
    
    Fix repetition in matches/mod.rs
    
    r? @matthewjasper
    Centril authored Dec 16, 2019
    Configuration menu
    Copy the full SHA
    9f0cb17 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#67325 - Centril:push-fake-read, r=matthewja…

    …sper
    
    cleanup with push_fake_read
    
    ...and make things a bit more readable.
    
    r? @matthewjasper
    Centril authored Dec 16, 2019
    Configuration menu
    Copy the full SHA
    71a9a99 View commit details
    Browse the repository at this point in the history