diff options
| author | Ondřej Hošek <ondrej.hosek@tuwien.ac.at> | 2024-02-26 15:35:30 +0100 |
|---|---|---|
| committer | Ondřej Hošek <ondrej.hosek@tuwien.ac.at> | 2024-02-26 15:35:30 +0100 |
| commit | c9a4a4a192403864ca70461a2747846c57a975f9 (patch) | |
| tree | 01bf3c77a66345054bba49cece7e2f30ebef7c63 /tests/rustdoc-js-std/parser-errors.js | |
| parent | ee933f6795d2eebcb68417f270162dcae8326f0e (diff) | |
| download | rust-c9a4a4a192403864ca70461a2747846c57a975f9.tar.gz rust-c9a4a4a192403864ca70461a2747846c57a975f9.zip | |
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
