-
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 7 pull requests #101148
Rollup of 7 pull requests #101148
Commits on Jul 13, 2022
-
Add a
File::create_new
constructorWe have `File::create` for creating a file or opening an existing file, but the secure way to guarantee creating a new file requires a longhand invocation via `OpenOptions`. Add `File::create_new` to handle this case, to make it easier for people to do secure file creation.
Configuration menu - View commit details
-
Copy full SHA for e540425 - Browse repository at this point
Copy the full SHA e540425View commit details
Commits on Aug 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 39bc74e - Browse repository at this point
Copy the full SHA 39bc74eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 236ccce - Browse repository at this point
Copy the full SHA 236ccceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99e2d33 - Browse repository at this point
Copy the full SHA 99e2d33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63c3aab - Browse repository at this point
Copy the full SHA 63c3aabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 421bb6a - Browse repository at this point
Copy the full SHA 421bb6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48bae93 - Browse repository at this point
Copy the full SHA 48bae93View commit details -
Configuration menu - View commit details
-
Copy full SHA for a424090 - Browse repository at this point
Copy the full SHA a424090View commit details -
Configuration menu - View commit details
-
Copy full SHA for c95ff1d - Browse repository at this point
Copy the full SHA c95ff1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for da90ec1 - Browse repository at this point
Copy the full SHA da90ec1View commit details
Commits on Aug 23, 2022
-
Make use of
[wrapping_]byte_{add,sub}
...replacing `.cast().wrapping_offset().cast()` & similar code.
Configuration menu - View commit details
-
Copy full SHA for 53565b2 - Browse repository at this point
Copy the full SHA 53565b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aa6fe3 - Browse repository at this point
Copy the full SHA 3aa6fe3View commit details
Commits on Aug 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 36c42fa - Browse repository at this point
Copy the full SHA 36c42faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63700a8 - Browse repository at this point
Copy the full SHA 63700a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89c74e8 - Browse repository at this point
Copy the full SHA 89c74e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d61ecec - Browse repository at this point
Copy the full SHA d61ececView commit details
Commits on Aug 25, 2022
-
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8c62cc2 - Browse repository at this point
Copy the full SHA 8c62cc2View commit details
Commits on Aug 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2df5afe - Browse repository at this point
Copy the full SHA 2df5afeView commit details
Commits on Aug 29, 2022
-
Rollup merge of rust-lang#98304 - SUPERCILEX:maybeuninit, r=nikic
Add MaybeUninit memset test Closes rust-lang#96274
Configuration menu - View commit details
-
Copy full SHA for 23a32d0 - Browse repository at this point
Copy the full SHA 23a32d0View commit details -
Rollup merge of rust-lang#98801 - joshtriplett:file-create-new, r=thomcc
Add a `File::create_new` constructor We have `File::create` for creating a file or opening an existing file, but the secure way to guarantee creating a new file requires a longhand invocation via `OpenOptions`. Add `File::create_new` to handle this case, to make it easier for people to do secure file creation.
Configuration menu - View commit details
-
Copy full SHA for 0acb2ed - Browse repository at this point
Copy the full SHA 0acb2edView commit details -
Rollup merge of rust-lang#99821 - cjgillot:ast-lifetimes-2, r=compile…
…r-errors Remove separate indexing of early-bound regions ~Based on rust-lang#99728 This PR copies some modifications from rust-lang#97839 around object lifetime defaults. These modifications allow to stop counting generic parameters during lifetime resolution, and rely on the indexing given by `rustc_typeck::collect`.
Configuration menu - View commit details
-
Copy full SHA for 8bd80ab - Browse repository at this point
Copy the full SHA 8bd80abView commit details -
Rollup merge of rust-lang#100337 - camelid:stabilize-io_read_to_strin…
…g, r=JohnTitor Stabilize `std::io::read_to_string` Closes rust-lang#80218. 🎉 This PR stabilizes the `std::io::read_to_string` function, with the following public API: ```rust pub fn read_to_string<R: Read>(reader: R) -> Result<String>; ``` It's analogous to `std::fs::read_to_string` for files, but it works on anything that implements `io::Read`, including `io::stdin()`. See the tracking issue (rust-lang#80218) or documentation for details.
Configuration menu - View commit details
-
Copy full SHA for 9925141 - Browse repository at this point
Copy the full SHA 9925141View commit details -
Rollup merge of rust-lang#100640 - reitermarkus:socket-display-buffer…
…, r=thomcc Use `DisplayBuffer` for socket addresses. Continuation of rust-lang#100625 for socket addresses. Renames `net::addr` to `net::addr::socket`, `net::ip` to `net::addr::ip` and `net::ip::display_buffer::IpDisplayBuffer` to `net::addr::display_buffer::DisplayBuffer`.
Configuration menu - View commit details
-
Copy full SHA for b5a466b - Browse repository at this point
Copy the full SHA b5a466bView commit details -
Rollup merge of rust-lang#100819 - WaffleLapkin:use_ptr_byte_methods,…
… r=scottmcm Make use of `[wrapping_]byte_{add,sub}` These new methods trivially replace old `.cast().wrapping_offset().cast()` & similar code. Note that [`arith_offset`](https://doc.rust-lang.org/std/intrinsics/fn.arith_offset.html) and `wrapping_offset` are the same thing. r? `@scottmcm` _split off from #100746_
Configuration menu - View commit details
-
Copy full SHA for 348e859 - Browse repository at this point
Copy the full SHA 348e859View commit details -
Rollup merge of rust-lang#100934 - a1phyr:improve_fmt_PadAdapter, r=M…
…ark-Simulacrum Remove a panicking branch from `fmt::builders::PadAdapter`
Configuration menu - View commit details
-
Copy full SHA for 90c1a8d - Browse repository at this point
Copy the full SHA 90c1a8dView commit details