mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
441217d9b5
Clarify behavior of slice prefix/suffix operations in case of equality Operations such as starts_with, ends_with, strip_prefix and strip_suffix can be either strict (do not consider a slice to be a prefix/suffix of itself) or not. In Rust's case, they are not strict. Add a few phrases to the documentation to clarify this. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |