-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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 6 pull requests #68659
Rollup of 6 pull requests #68659
Commits on Dec 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 293cdf7 - Browse repository at this point
Copy the full SHA 293cdf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f547978 - Browse repository at this point
Copy the full SHA f547978View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8651aa0 - Browse repository at this point
Copy the full SHA 8651aa0View commit details
Commits on Jan 28, 2020
-
Format safety comment as per tidy
Co-Authored-By: Ashley Mannix <ashleymannix@live.com.au>
Configuration menu - View commit details
-
Copy full SHA for 3caa17b - Browse repository at this point
Copy the full SHA 3caa17bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60a7c94 - Browse repository at this point
Copy the full SHA 60a7c94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81b6f8c - Browse repository at this point
Copy the full SHA 81b6f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c3e477 - Browse repository at this point
Copy the full SHA 6c3e477View commit details
Commits on Jan 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b0b11d3 - Browse repository at this point
Copy the full SHA b0b11d3View commit details -
BTreeMap: tag and explain unsafe internal functions or assert precond…
…itions Co-Authored-By: Mark Rousskov <mark.simulacrum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ba87a50 - Browse repository at this point
Copy the full SHA ba87a50View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab5e296 - Browse repository at this point
Copy the full SHA ab5e296View commit details -
Configuration menu - View commit details
-
Copy full SHA for 684bd50 - Browse repository at this point
Copy the full SHA 684bd50View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee73259 - Browse repository at this point
Copy the full SHA ee73259View commit details
Commits on Jan 30, 2020
-
Rollup merge of rust-lang#66648 - crgl:btree-clone-from, r=Amanieu
Implement clone_from for BTreeMap and BTreeSet See rust-lang#28481. This results in up to 90% speedups on simple data types when `self` and `other` are the same size, and is generally comparable or faster. Some concerns: 1. This implementation requires an `Ord` bound on the `Clone` implementation for `BTreeMap` and `BTreeSet`. Since these structs can only be created externally for keys with `Ord` implemented, this should be fine? If not, there's certainly a less safe way to do this. 2. Changing `next_unchecked` on `RangeMut` to return mutable key references allows for replacing the entire overlapping portion of both maps without changing the external interface in any way. However, if `clone_from` fails it can leave the `BTreeMap` in an invalid state, which might be unacceptable. ~This probably needs an FCP since it changes a trait bound, but (as far as I know?) that change cannot break any external code.~
Configuration menu - View commit details
-
Copy full SHA for 12c9562 - Browse repository at this point
Copy the full SHA 12c9562View commit details -
Rollup merge of rust-lang#68468 - ssomers:btreemap_prefer_middle, r=M…
…ark-Simulacrum BTreeMap: tag and explain unsafe internal functions or assert preconditions rust-lang#68418 concluded that it's not desirable to tag all internal functions with preconditions as being unsafe. This PR does it to some functions, documents why, and elsewhere enforces the preconditions with asserts.
Configuration menu - View commit details
-
Copy full SHA for f837c73 - Browse repository at this point
Copy the full SHA f837c73View commit details -
Rollup merge of rust-lang#68626 - Zoxc:termize, r=estebank
Use termize instead of term_size `termize` is a fork of `term_size` which uses `winapi` 0.3 instead of 0.2. This is a step towards removing the `winapi` 0.2 dependency. r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 4af33a9 - Browse repository at this point
Copy the full SHA 4af33a9View commit details -
Rollup merge of rust-lang#68640 - LeSeulArtichaut:doc-from-ip, r=stev…
…eklabnik Document remaining undocumented `From` implementations for IPs Some `From` implementations were missing documentation. I added examples, I tried to be as close to existing examples as possible. Related to rust-lang#51430 (cc @skade) r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 3df1ff2 - Browse repository at this point
Copy the full SHA 3df1ff2View commit details -
Rollup merge of rust-lang#68651 - LeSeulArtichaut:doc-from-nonzero, r…
…=steveklabnik Document `From` implementation for NonZero nums This is more of a nitpick than a real change in documentation. I did this for consistency with other documentation (namely Atomic integers). Related to rust-lang#51430 r? @steveklabnik PS: I actually tested the code this time. My CPU died in the process, but I get to open a (hopefully 🤞) working PR
Configuration menu - View commit details
-
Copy full SHA for 1780f2f - Browse repository at this point
Copy the full SHA 1780f2fView commit details -
Rollup merge of rust-lang#68655 - tmiasko:rev, r=Dylan-DPC
Fix revision annotations in borrowck-feature-nll-overrides-migrate
Configuration menu - View commit details
-
Copy full SHA for 9f497f9 - Browse repository at this point
Copy the full SHA 9f497f9View commit details