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

Add alias methods to PathBuf for underlying OsString (#58234) #58539

Merged
merged 4 commits into from
Feb 20, 2019

Commits on Feb 17, 2019

  1. Add alias methods to PathBuf for underlying OsString

    Implemented the following methods on PathBuf which
    forward to the underlying OsString.
    
    - capacity
    - with_capacity
    - clear
    - reserve
    - reserve_exact
    - shrink_to_fit
    - shrink_to
    aaronstillwell committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    a23c40e View commit details
    Browse the repository at this point in the history
  2. Fixes for implementation of PathBuf methods (aliases for OsString)

    - Fixed incorrect `mut` usage
    - Fixed style in accordance with tidy
    - Marked all methods as unstable
    - Changed feature identifier to path_buf_alias_os_string_methods
    aaronstillwell committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    dbf60d9 View commit details
    Browse the repository at this point in the history
  3. Changed feature gate for new PathBuf methods

    Feature gate changed to `path_buf_capacity` as per advice from @Mark-Simulacrum
    aaronstillwell committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    35d8c44 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2019

  1. Configuration menu
    Copy the full SHA
    c9fbcc1 View commit details
    Browse the repository at this point in the history