about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMahmoud Al-Qudsi <mqudsi@neosmart.net>2022-09-20 11:12:03 -0500
committerMahmoud Al-Qudsi <mqudsi@neosmart.net>2022-09-20 11:12:03 -0500
commitc291d2adecbf13685ed321d7699ba7bb0b60806a (patch)
treea2215e2753ea3acf705ebaadea231bde96c393e6 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent4136b59b7da8866762761ed29405a5c5f58a5e3d (diff)
downloadrust-c291d2adecbf13685ed321d7699ba7bb0b60806a.tar.gz
rust-c291d2adecbf13685ed321d7699ba7bb0b60806a.zip
Clarify Path::extension() semantics in docs abstract
State up-front and center what shape the returned extension will have, without
making the user read through the description and examples.

Rationale: Various frameworks and libraries for different platforms have their
different conventions as to whether an "extension" is ".ext" or just "ext" and
anyone that's had to deal with this ambiguity in the past is always double- or
triple-checking to make sure the function call returns an extension that matches
the expected semantics. Offer the answer to this important question right off
the bat instead of making them dig to find it.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions