diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-30 20:46:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-30 20:46:44 +0200 |
| commit | 61b9467af89c18fb2b1e08da1fce2472b2147cc1 (patch) | |
| tree | 628703bbec8b0a9f056c2f6dabf5537f13a149b4 /compiler/rustc_codegen_llvm/src | |
| parent | 42d009c0a9be0f7020a03f85dd47faa00d6d7bdf (diff) | |
| parent | 7ce8e289db72471c41b53664a214ed0e00458f07 (diff) | |
| download | rust-61b9467af89c18fb2b1e08da1fce2472b2147cc1.tar.gz rust-61b9467af89c18fb2b1e08da1fce2472b2147cc1.zip | |
Rollup merge of #142506 - clarfonthey:path-trailing-sep, r=joboet
Add `Path::has_trailing_sep` and related methods Implements rust-lang/libs-team#335. Tracking issue: rust-lang/rust#142503 Notable differences from ACP: * `trim_trailing_sep` was added to `Path` since it felt reasonable to ensure that the inverse operation was available. * Per suggestion of `@kennytm,` added `push_trailing_sep` and `pop_trailing_sep` to `PathBuf` in addition to `set_trailing_sep`. This also updates some of the docs on various `Path` methods to use the term "trailing separator" instead of "trailing slash" for consistency.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
