Skip to content

Commit 5dae950

Browse files
committed
---
yaml --- r: 102363 b: refs/heads/master c: c92cdad h: refs/heads/master i: 102361: 7cdc36f 102359: 1a16d45 v: v3
1 parent 059a9b4 commit 5dae950

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 87a31f6f0f15d70ed0d7243379e2c26cd1a4df37
2+
refs/heads/master: c92cdad3ddfc6cce608af5b4cf59115b3745ab39
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
55
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff

trunk/src/libstd/str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,8 +1997,8 @@ pub trait StrSlice<'a> {
19971997
/// handle edge cases such as leaving a combining character as the
19981998
/// first code point of the string.
19991999
///
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)`
20022002
/// variants that use byte indices rather than code point
20032003
/// indices.
20042004
///

0 commit comments

Comments
 (0)