about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2022-11-11 21:38:00 +0100
committerTobias Bucher <tobiasbucher5991@gmail.com>2022-11-11 21:38:00 +0100
commit461d14724934f7a05fabfe74e8e51f801fa6993a (patch)
tree1093783eea5e6fa6b3bfa6b1b9bdb17a04f1a696 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent742d3f02c243964e5b868d90afd60c2907be5853 (diff)
downloadrust-461d14724934f7a05fabfe74e8e51f801fa6993a.tar.gz
rust-461d14724934f7a05fabfe74e8e51f801fa6993a.zip
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