rust/library/std
Matthias Krüger 61b9467af8
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.
2025-09-30 20:46:44 +02:00
..
benches Fix import in bench for wasm 2025-02-12 14:44:30 -08:00
src Rollup merge of #142506 - clarfonthey:path-trailing-sep, r=joboet 2025-09-30 20:46:44 +02:00
tests Rollup merge of #142506 - clarfonthey:path-trailing-sep, r=joboet 2025-09-30 20:46:44 +02:00
build.rs std: add support for armv7a-vex-v5 target 2025-09-24 12:10:15 -05:00
Cargo.toml Rollup merge of #145973 - vexide:vex-std, r=tgross35 2025-09-25 20:31:53 +10:00