-
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 9 pull requests #97622
Rollup of 9 pull requests #97622
Commits on May 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0b781b0 - Browse repository at this point
Copy the full SHA 0b781b0View commit details
Commits on May 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1b4714f - Browse repository at this point
Copy the full SHA 1b4714fView commit details
Commits on May 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e4d48c3 - Browse repository at this point
Copy the full SHA e4d48c3View commit details
Commits on May 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5d86305 - Browse repository at this point
Copy the full SHA 5d86305View commit details -
Corrected EBNF grammar for from_str
Previously, the `Number` part of the EBNF grammar had an option for `'.' Digit*`, which would include the string "." (a single decimal point). This is not valid, and does not return an Ok as stated. The corrected version removes this, and still allows for the `'.' Digit+` case with the already existing `Digit* '.' Digit+` case.
Configuration menu - View commit details
-
Copy full SHA for 0484cfb - Browse repository at this point
Copy the full SHA 0484cfbView commit details
Commits on May 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c00d9bf - Browse repository at this point
Copy the full SHA c00d9bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6001b - Browse repository at this point
Copy the full SHA 0a6001bView commit details
Commits on Jun 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b02146a - Browse repository at this point
Copy the full SHA b02146aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d007aa - Browse repository at this point
Copy the full SHA 8d007aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea50d77 - Browse repository at this point
Copy the full SHA ea50d77View commit details -
Rollup merge of rust-lang#94647 - Urgau:hash-map-many-mut, r=Amanieu
Expose `get_many_mut` and `get_many_unchecked_mut` to HashMap This pull-request expose the function [`get_many_mut`](https://docs.rs/hashbrown/0.12.0/hashbrown/struct.HashMap.html#method.get_many_mut) and [`get_many_unchecked_mut`](https://docs.rs/hashbrown/0.12.0/hashbrown/struct.HashMap.html#method.get_many_unchecked_mut) from `hashbrown` to the standard library `HashMap` type. They obviously keep the same API and are added under the (new) `map_many_mut` feature. - `get_many_mut`: Attempts to get mutable references to `N` values in the map at once. - `get_many_unchecked_mut`: Attempts to get mutable references to `N` values in the map at once, without validating that the values are unique.
Configuration menu - View commit details
-
Copy full SHA for 9ddae15 - Browse repository at this point
Copy the full SHA 9ddae15View commit details -
Rollup merge of rust-lang#97216 - RalfJung:null-ptr-check, r=oli-obk
Ensure we never consider the null pointer dereferencable This replaces the checks that are being removed in rust-lang#97188. Those checks were too early and hence incorrect.
Configuration menu - View commit details
-
Copy full SHA for 2ab919a - Browse repository at this point
Copy the full SHA 2ab919aView commit details -
Rollup merge of rust-lang#97399 - SparrowLii:arg_index, r=oli-obk
simplify code of finding arg index in `opt_const_param_of` From the FIXME in the impl of `opt_const_param_of`. Part of the code is simplified by blending two iterator statements and using `let...else` statement.
Configuration menu - View commit details
-
Copy full SHA for 9c61f81 - Browse repository at this point
Copy the full SHA 9c61f81View commit details -
Rollup merge of rust-lang#97470 - notriddle:notriddle/test-cases, r=G…
…uillaumeGomez rustdoc: add more test coverage rust-lang#91113
Configuration menu - View commit details
-
Copy full SHA for a1dc541 - Browse repository at this point
Copy the full SHA a1dc541View commit details -
Rollup merge of rust-lang#97498 - ijchen:master, r=Mark-Simulacrum
Corrected EBNF grammar for from_str Hello! This is my first time contributing to an open-source project. I'm excited to have the chance to contribute to the rust community 🥳 I noticed an issue with the documentation for `from_str` in `f32` and `f64`. It states that "All strings that adhere to the following [EBNF](https://www.w3.org/TR/REC-xml/#sec-notation) grammar when lowercased will result in an `Ok` being returned. I believe this is incorrect for the string `"."`, which is valid for the given EBNF grammar, but does not result in an `Ok` being returned ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=09f891aa87963a56d3b0d715d8cbc2b4)). I have simplified the grammar in a way which fixes that, but is otherwise identical. Previously, the `Number` part of the EBNF grammar had an option for `'.' Digit*`, which would include the string `"."`. This is not valid, and does not return an Ok as stated. The corrected version removes this, and still allows for the `'.' Digit+` case with the already existing `Digit* '.' Digit+` case.
Configuration menu - View commit details
-
Copy full SHA for e1d2e65 - Browse repository at this point
Copy the full SHA e1d2e65View commit details -
Rollup merge of rust-lang#97562 - compiler-errors:comment-poly_projec…
…t_and_unify_type, r=lcnr Fix comment in `poly_project_and_unify_type` Renamed some variants to match `ProjectAndUnifyResult`
Configuration menu - View commit details
-
Copy full SHA for 2f99f1b - Browse repository at this point
Copy the full SHA 2f99f1bView commit details -
Rollup merge of rust-lang#97580 - JohnTitor:issue-71546, r=compiler-e…
…rrors Add regression test for rust-lang#71546 Closes rust-lang#71546 r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for a7bd0d0 - Browse repository at this point
Copy the full SHA a7bd0d0View commit details -
Rollup merge of rust-lang#97611 - azdavis:master, r=Dylan-DPC
Tweak insert docs For `{Hash, BTree}Map::insert`, I always have to take a few extra seconds to think about the slight weirdness about the fact that if we "did not" insert (which "sounds" false), we return true, and if we "did" insert, (which "sounds" true), we return false. This tweaks the doc comments for the `insert` methods of those types (as well as what looks like a rustc internal data structure that I found just by searching the codebase for "If the set did") to first use the "Returns whether _something_" pattern used in e.g. `remove`, where we say that `remove` "returns whether the value was present".
Configuration menu - View commit details
-
Copy full SHA for 2c3a8cf - Browse repository at this point
Copy the full SHA 2c3a8cfView commit details -
Rollup merge of rust-lang#97616 - TaKO8Ki:remove-unnecessary-option, …
…r=Dylan-DPC Remove an unnecessary `Option`
Configuration menu - View commit details
-
Copy full SHA for 85fdef0 - Browse repository at this point
Copy the full SHA 85fdef0View commit details