rust/library/core/src/str
Jonas Schievink d9acd7d148
Rollup merge of #78109 - cuviper:exhausted-rangeinc, r=dtolnay
Check for exhaustion in RangeInclusive::contains and slicing

When a range has finished iteration, `is_empty` returns true, so it
should also be the case that `contains` returns false.

Fixes #77941.
2020-10-24 14:12:01 +02:00
..
converts.rs Move functions converting bytes to str to new mod 2020-09-26 05:20:53 +00:00
error.rs Move functions converting bytes to str to new mod 2020-09-26 05:20:53 +00:00
iter.rs fill in the tracking issue 2020-10-16 01:11:39 +03:00
lossy.rs Move utf-8 validating helpers to new mod 2020-09-26 05:20:53 +00:00
mod.rs Remove unneeded tidy comment 2020-09-26 05:20:53 +00:00
pattern.rs Fixed some intra-docs links in library/core 2020-09-18 07:49:29 +08:00
traits.rs Rollup merge of #78109 - cuviper:exhausted-rangeinc, r=dtolnay 2020-10-24 14:12:01 +02:00
validations.rs Move utf-8 validating helpers to new mod 2020-09-26 05:20:53 +00:00