rust/library
Dylan DPC 77d063b954
Rollup merge of #102058 - mqudsi:path_extension_docs, r=thomcc
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.

This is a doc-only change. There are no changes to the API contract and the clarification is in line with what was already stated/promised in the existing doc text - just clarified, summarized, and served bright and early.

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.

```@rustbot``` label +A-docs
2022-09-21 19:01:09 +05:30
..
alloc Rollup merge of #89891 - ojeda:modular-alloc, r=Mark-Simulacrum 2022-09-21 19:01:06 +05:30
backtrace@07872f28cd
core Rollup merge of #101995 - scottmcm:carrying-mul-example, r=Mark-Simulacrum 2022-09-21 19:01:07 +05:30
panic_abort
panic_unwind
portable-simd
proc_macro Fix typo in proc_macro Span::eq 2022-09-17 19:15:30 -04:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #102058 - mqudsi:path_extension_docs, r=thomcc 2022-09-21 19:01:09 +05:30
stdarch@699c093a42 Update stdarch 2022-09-15 13:05:28 -04:00
test
unwind