diff options
| author | Mahmoud Al-Qudsi <mqudsi@neosmart.net> | 2022-09-20 11:12:03 -0500 |
|---|---|---|
| committer | Mahmoud Al-Qudsi <mqudsi@neosmart.net> | 2022-09-20 11:12:03 -0500 |
| commit | c291d2adecbf13685ed321d7699ba7bb0b60806a (patch) | |
| tree | a2215e2753ea3acf705ebaadea231bde96c393e6 /library/std/src/sys/unix/process/process_unix.rs | |
| parent | 4136b59b7da8866762761ed29405a5c5f58a5e3d (diff) | |
| download | rust-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 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
