rust/library/core
Deven T. Corzine 32cb8f1537 Add trim_prefix and trim_suffix for slice and str.
Implements `trim_prefix` and `trim_suffix` methods for both `slice` and
`str` types which remove at most one occurrence of a prefix/suffix while
always returning a string/slice (rather than Option), enabling easy
method chaining.
2025-06-11 00:27:22 -04:00
..
src Add trim_prefix and trim_suffix for slice and str. 2025-06-11 00:27:22 -04:00
Cargo.toml Add new Tier-3 targets: loongarch32-unknown-none* 2025-06-06 08:19:38 +08:00