-
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 #97614
Rollup of 5 pull requests #97614
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 28, 2022
-
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 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ac5c15d - Browse repository at this point
Copy the full SHA ac5c15dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8da2707 - Browse repository at this point
Copy the full SHA 8da2707View commit details -
Configuration menu - View commit details
-
Copy full SHA for da175c7 - Browse repository at this point
Copy the full SHA da175c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b86c6f - Browse repository at this point
Copy the full SHA 7b86c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3162b33 - Browse repository at this point
Copy the full SHA 3162b33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cf79d7 - Browse repository at this point
Copy the full SHA 0cf79d7View commit details
Commits on May 31, 2022
-
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
-
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 5f5a27f - Browse repository at this point
Copy the full SHA 5f5a27fView commit details -
Rollup merge of rust-lang#97023 - cjgillot:uniform-anon, r=estebank
Diagnose anonymous lifetimes errors more uniformly between async and regular fns Async fns and regular fns are desugared differently. For the former, we create a generic parameter at HIR level. For the latter, we just create an anonymous region for typeck. I plan to migrate regular fns to the async fn desugaring. Before that, this PR attempts to merge the diagnostics for both cases. r? `@estebank`
Configuration menu - View commit details
-
Copy full SHA for 9f84345 - Browse repository at this point
Copy the full SHA 9f84345View 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 59b802d - Browse repository at this point
Copy the full SHA 59b802dView commit details -
Rollup merge of rust-lang#97420 - WaffleLapkin:no_oxford_casts_qqq, r…
…=Mark-Simulacrum Be a little nicer with casts when formatting `fn` pointers This removes a `fn(...) -> ...` -> `usize` -> `*const ()` -> `usize` cast. cc rust-lang#95489.
Configuration menu - View commit details
-
Copy full SHA for e7288d2 - Browse repository at this point
Copy the full SHA e7288d2View 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 1387b44 - Browse repository at this point
Copy the full SHA 1387b44View commit details