Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify Path::extension() semantics in docs abstract #102058

Merged
merged 1 commit into from
Sep 21, 2022

Commits on Sep 20, 2022

  1. 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.
    mqudsi committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    c291d2a View commit details
    Browse the repository at this point in the history