]> git.lizzy.rs Git - rust.git/commit - compiler/rustc_codegen_cranelift/src/driver/jit.rs
Auto merge of #105018 - zertosh:path_buf_deref_mut, r=dtolnay
authorbors <bors@rust-lang.org>
Fri, 16 Dec 2022 18:06:10 +0000 (18:06 +0000)
committerbors <bors@rust-lang.org>
Fri, 16 Dec 2022 18:06:10 +0000 (18:06 +0000)
commit9c07efe84f28a44f3044237696acc295aa407ee5
tree26383502472f7d2d3a4a624a1170b75f304b0572
parent63b3bac77cece3b4efb3e481ebc9139fedaa0535
parent2c541786cf6f54d55b12dd649f322a4b7af5770c
Auto merge of #105018 - zertosh:path_buf_deref_mut, r=dtolnay

Implement DerefMut for PathBuf

Without this, there's no way to get a `&mut Path` from `PathBuf` without
going through `into_boxed_path`. This is relevant now that #105002 adds
`PathBuf::as_mut_os_string` and `Path::as_mut_os_str`.
library/std/src/path.rs