We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de6060b commit 66e9984Copy full SHA for 66e9984
src/libcore/str/mod.rs
@@ -2270,12 +2270,11 @@ impl str {
2270
self.len() == 0
2271
}
2272
2273
- /// Checks that `index`-th byte lies at the start and/or end of a
2274
- /// UTF-8 code point sequence.
+ /// Checks that `index`-th byte is the first byte in a UTF-8 code point
+ /// sequence or the end of the string.
2275
///
2276
/// The start and end of the string (when `index == self.len()`) are
2277
- /// considered to be
2278
- /// boundaries.
+ /// considered to be boundaries.
2279
2280
/// Returns `false` if `index` is greater than `self.len()`.
2281
0 commit comments