about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2022-12-31 00:56:43 +0100
committerTobias Bucher <tobiasbucher5991@gmail.com>2022-12-31 00:56:43 +0100
commit40916ef88f7809c5e8956a3917e00681ad25c30b (patch)
tree6f017288fa2416e66ab050f004b5981165b9efd2 /compiler/rustc_codegen_llvm/src
parent742d3f02c243964e5b868d90afd60c2907be5853 (diff)
downloadrust-40916ef88f7809c5e8956a3917e00681ad25c30b.tar.gz
rust-40916ef88f7809c5e8956a3917e00681ad25c30b.zip
Add notes and examples about non-intuitive `PathBuf::set_extension` behavior
Basically, passing the empty string will actually remove the extension
instead of setting it to the empty string. This might change what is
considered to be an extension. Additionally, passing an extension that
contains dots will make the path only consider the last part of it to be
the new extension.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions