-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Rollup of 7 pull requests #67342
Commits on Nov 21, 2019
-
Stabilize
std::{rc,sync}::Weak::{weak_count, strong_count}
Closes: rust-lang#57977
Bryan Donlan committedNov 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 91ee3d1 - Browse repository at this point
Copy the full SHA 91ee3d1View commit details -
Make Weak::weak_count() return zero when no strong refs remain
Bryan Donlan committedNov 21, 2019 Configuration menu - View commit details
-
Copy full SHA for 0d0b283 - Browse repository at this point
Copy the full SHA 0d0b283View commit details
Commits on Nov 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9badc33 - Browse repository at this point
Copy the full SHA 9badc33View commit details
Commits on Nov 26, 2019
-
Fix unstable attribute accidentally applying to the entire impl
Note `#![unstable]` v.s. `#[unstable]`
Configuration menu - View commit details
-
Copy full SHA for 6ddcf50 - Browse repository at this point
Copy the full SHA 6ddcf50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e2e0df - Browse repository at this point
Copy the full SHA 2e2e0dfView commit details -
Fix the tracking issue number for
PanicInfo::message
rust-lang#44489 was closed when the `#[panic_handler]` attribute was stabilized.
Configuration menu - View commit details
-
Copy full SHA for 392e5a7 - Browse repository at this point
Copy the full SHA 392e5a7View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for eab1dc9 - Browse repository at this point
Copy the full SHA eab1dc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4718e20 - Browse repository at this point
Copy the full SHA 4718e20View commit details
Commits on Dec 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8cae411 - Browse repository at this point
Copy the full SHA 8cae411View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93438fd - Browse repository at this point
Copy the full SHA 93438fdView commit details
Commits on Dec 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9778e03 - Browse repository at this point
Copy the full SHA 9778e03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6176051 - Browse repository at this point
Copy the full SHA 6176051View commit details -
Configuration menu - View commit details
-
Copy full SHA for e28153e - Browse repository at this point
Copy the full SHA e28153eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a5969d - Browse repository at this point
Copy the full SHA 8a5969dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d96f20 - Browse repository at this point
Copy the full SHA 2d96f20View commit details
Commits on Dec 16, 2019
-
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`).
Configuration menu - View commit details
-
Copy full SHA for c34ea91 - Browse repository at this point
Copy the full SHA c34ea91View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 84ef889 - Browse repository at this point
Copy the full SHA 84ef889View commit details -
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/.
Configuration menu - View commit details
-
Copy full SHA for 1c12dc8 - Browse repository at this point
Copy the full SHA 1c12dc8View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6b9bb74 - Browse repository at this point
Copy the full SHA 6b9bb74View commit details -
Rollup merge of rust-lang#67317 - lcnr:type_name_docs, r=jonas-schievink
fix type_name_of_val doc comment .
Configuration menu - View commit details
-
Copy full SHA for d182397 - Browse repository at this point
Copy the full SHA d182397View commit details -
Rollup merge of rust-lang#67324 - Centril:mir-build-match-doc-fix, r=…
…matthewjasper Fix repetition in matches/mod.rs r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for 9f0cb17 - Browse repository at this point
Copy the full SHA 9f0cb17View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 71a9a99 - Browse repository at this point
Copy the full SHA 71a9a99View commit details