diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-01 22:38:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-01 22:38:47 +0100 |
| commit | 441217d9b5e10ef052d74c7b4055e693da298934 (patch) | |
| tree | fbec9d19951edb5f66b84db7329bff5061cdb298 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 4d71fe7cc1fa069f475af93139d8da4e37423b11 (diff) | |
| parent | c9a4a4a192403864ca70461a2747846c57a975f9 (diff) | |
| download | rust-441217d9b5e10ef052d74c7b4055e693da298934.tar.gz rust-441217d9b5e10ef052d74c7b4055e693da298934.zip | |
Rollup merge of #121634 - RavuAlHemio:slice-prefix-suffix-docs, r=cuviper
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.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
