diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2022-11-13 21:49:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-13 21:49:27 -0500 |
| commit | c7004f934f13e792c7af7204335c5f19cec31780 (patch) | |
| tree | 269548187e9969b7838f93afdbcf8411f9ab40da /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | cc96cdd6969fdf4f043d713420c059567d89b35c (diff) | |
| parent | 461d14724934f7a05fabfe74e8e51f801fa6993a (diff) | |
| download | rust-c7004f934f13e792c7af7204335c5f19cec31780.tar.gz rust-c7004f934f13e792c7af7204335c5f19cec31780.zip | |
Rollup merge of #104300 - tbu-:pr_path_parent_caveats, r=Mark-Simulacrum
Document `Path::parent` behavior around relative paths
A relative path with just one component will return `Some("")` as its parent, which wasn't clear to me from the documentation.
The parent of `""` is `None`, which was missing from the documentation as well.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
