about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-01 22:38:47 +0100
committerGitHub <noreply@github.com>2024-03-01 22:38:47 +0100
commit441217d9b5e10ef052d74c7b4055e693da298934 (patch)
treefbec9d19951edb5f66b84db7329bff5061cdb298 /tests/rustdoc-js-std/parser-errors.js
parent4d71fe7cc1fa069f475af93139d8da4e37423b11 (diff)
parentc9a4a4a192403864ca70461a2747846c57a975f9 (diff)
downloadrust-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