File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 87a31f6f0f15d70ed0d7243379e2c26cd1a4df37
2
+ refs/heads/master: c92cdad3ddfc6cce608af5b4cf59115b3745ab39
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5
5
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff
Original file line number Diff line number Diff line change @@ -1997,8 +1997,8 @@ pub trait StrSlice<'a> {
1997
1997
/// handle edge cases such as leaving a combining character as the
1998
1998
/// first code point of the string.
1999
1999
///
2000
- /// Due to the design of UTF-8, this operation is `O(end -
2001
- /// begin)`. See `slice`, `slice_to` and `slice_from` for `O(1)`
2000
+ /// Due to the design of UTF-8, this operation is `O(end)`.
2001
+ /// See `slice`, `slice_to` and `slice_from` for `O(1)`
2002
2002
/// variants that use byte indices rather than code point
2003
2003
/// indices.
2004
2004
///
You can’t perform that action at this time.
0 commit comments