Add OsStr inherent fns to test for and strip str prefixes.#111317
Add OsStr inherent fns to test for and strip str prefixes.#111317jmillikin wants to merge 2 commits intorust-lang:masterfrom
OsStr inherent fns to test for and strip str prefixes.#111317Conversation
|
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
|
@rustbot label +T-libs-api -T-libs |
This comment has been minimized.
This comment has been minimized.
0fa3703 to
fbd7174
Compare
This comment has been minimized.
This comment has been minimized.
* `OsStr::starts_with()` tests whether an `OsStr` has a prefix matching the given `Pattern`. * `OsStr::strip_prefix()` returns the `OsStr` after removing a prefix matching the given `Pattern`.
fbd7174 to
024c947
Compare
|
☔ The latest upstream changes (presumably #112624) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Why was this closed? |
|
Just garbage-collecting ancient stale PRs. It was open for months with no review. |
A reduced subset of PR #111059:
OsStr::starts_with()tests whether anOsStrhas a prefix matching the givenPattern.OsStr::strip_prefix()returns theOsStrafter removing a prefix matching the givenPattern.ACP: rust-lang/libs-team#114