-
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 5 pull requests #69309
Rollup of 5 pull requests #69309
Commits on Feb 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 348278a - Browse repository at this point
Copy the full SHA 348278aView commit details
Commits on Feb 9, 2020
-
[!] Use
rustc_inherit_overflow_checks
innext_power_of_two
I believe the previous code was calling `ops::Add::add` instead of the `+` operator to get this behavior.
Configuration menu - View commit details
-
Copy full SHA for c981d67 - Browse repository at this point
Copy the full SHA c981d67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2afa993 - Browse repository at this point
Copy the full SHA 2afa993View commit details -
Configuration menu - View commit details
-
Copy full SHA for 269bf89 - Browse repository at this point
Copy the full SHA 269bf89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fe5eaf - Browse repository at this point
Copy the full SHA 7fe5eafView commit details
Commits on Feb 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 437f56e - Browse repository at this point
Copy the full SHA 437f56eView commit details
Commits on Feb 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1b342f7 - Browse repository at this point
Copy the full SHA 1b342f7View commit details -
LinkedList::remove() removes the element at the specified index and returns it. Signed-off-by: Bijan Tabatabai <bijan311@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for c797ce7 - Browse repository at this point
Copy the full SHA c797ce7View commit details
Commits on Feb 20, 2020
-
Rollup merge of rust-lang#68705 - BijanT:ll_remove, r=Mark-Simulacrum
Add LinkedList::remove() LinkedList::remove() removes the element at the specified index and returns it. I added this because I think having a remove function would be useful to have, and similar functions are in other containers, like Vec and HashMap. I'm not sure if adding a feature like this requires an RFC or not, so I'm sorry if this PR is premature.
Configuration menu - View commit details
-
Copy full SHA for f7ce5ff - Browse repository at this point
Copy the full SHA f7ce5ffView commit details -
Rollup merge of rust-lang#68945 - mjbshaw:once_is_completed, r=LukasK…
…albertodt Stabilize Once::is_completed Closes rust-lang#54890 This function has been around for some time. I haven't seen anyone raise any objections to it. I've personally found it useful myself. It would be nice to finally stabilize it and
Configuration menu - View commit details
-
Copy full SHA for 588f008 - Browse repository at this point
Copy the full SHA 588f008View commit details -
Rollup merge of rust-lang#68978 - ecstatic-morse:const-int-pow, r=oli…
…-obk Make integer exponentiation methods unstably const cc rust-lang#53718 This makes the following inherent methods on integer primitives into unstable `const fn`: - `pow` - `checked_pow` - `wrapping_pow` - `overflowing_pow` - `saturating_pow` - `next_power_of_two` - `checked_next_power_of_two` - `wrapping_next_power_of_two` Only two changes were made to the implementation of these methods. First, I had to switch from the `?` operator, which is not yet implemented in a const context, to a `try_opt` macro. Second, `next_power_of_two` was using `ops::Add::add` (see the first commit) to "get overflow checks", so I switched to `#[rustc_inherit_overflow_checks]`. I'm not quite sure why the attribute wasn't used in the first place.
Configuration menu - View commit details
-
Copy full SHA for d96951f - Browse repository at this point
Copy the full SHA d96951fView commit details -
Rollup merge of rust-lang#69266 - Zoxc:fix-source-map-race, r=wesleyw…
…iser Fix race condition when allocating source files in SourceMap This makes allocating address space in the source map an atomic operation. `rustc` does not currently do this in parallel, so this bug can't trigger, but parsing files in parallel could trigger it, and that is something we want to do. Fixes rust-lang#69261. r? @wesleywiser
Configuration menu - View commit details
-
Copy full SHA for 5d285dc - Browse repository at this point
Copy the full SHA 5d285dcView commit details -
Rollup merge of rust-lang#69287 - GuillaumeGomez:clean-e0317, r=Dylan…
…-DPC Clean up E0317 explanation r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 941ce1a - Browse repository at this point
Copy the full SHA 941ce1aView commit details