about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-30 20:46:44 +0200
committerGitHub <noreply@github.com>2025-09-30 20:46:44 +0200
commit61b9467af89c18fb2b1e08da1fce2472b2147cc1 (patch)
tree628703bbec8b0a9f056c2f6dabf5537f13a149b4 /compiler/rustc_codegen_llvm/src
parent42d009c0a9be0f7020a03f85dd47faa00d6d7bdf (diff)
parent7ce8e289db72471c41b53664a214ed0e00458f07 (diff)
downloadrust-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