Skip to content

Commit 19f7c3c

Browse files
committed
Merge pull request #2892 from practicalswift/duplicate-words
[gardening] Remove duplicate words.
2 parents ad1c431 + af9786e commit 19f7c3c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

stdlib/public/core/StringIndexConversions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extension String.Index {
5858
/// specified `UTF16View` position.
5959
///
6060
/// The following example finds the position of a space in a string's `utf16`
61-
/// view and then converts that position to an index in the the string's
61+
/// view and then converts that position to an index in the string's
6262
/// `characters` view. The value `32` is the UTF-16 encoded value of a space
6363
/// character.
6464
///

stdlib/public/core/StringUTF16.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ extension String.UTF16View.Index {
376376
/// specified `UTF8View` position.
377377
///
378378
/// The following example finds the position of a space in a string's `utf8`
379-
/// view and then converts that position to an index in the the string's
379+
/// view and then converts that position to an index in the string's
380380
/// `utf16` view.
381381
///
382382
/// let cafe = "Café 🍵"
@@ -417,7 +417,7 @@ extension String.UTF16View.Index {
417417
/// specified `UnicodeScalarView` position.
418418
///
419419
/// The following example finds the position of a space in a string's `utf8`
420-
/// view and then converts that position to an index in the the string's
420+
/// view and then converts that position to an index in the string's
421421
/// `utf16` view.
422422
///
423423
/// let cafe = "Café 🍵"
@@ -443,7 +443,7 @@ extension String.UTF16View.Index {
443443
/// specified `CharacterView` position.
444444
///
445445
/// The following example finds the position of a space in a string's `characters`
446-
/// view and then converts that position to an index in the the string's
446+
/// view and then converts that position to an index in the string's
447447
/// `utf16` view.
448448
///
449449
/// let cafe = "Café 🍵"

stdlib/public/core/StringUTF8.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ extension String.UTF8View.Index {
485485
/// specified `UTF16View` position.
486486
///
487487
/// The following example finds the position of a space in a string's `utf16`
488-
/// view and then converts that position to an index in the the string's
488+
/// view and then converts that position to an index in the string's
489489
/// `utf8` view.
490490
///
491491
/// let cafe = "Café 🍵"

stdlib/public/core/StringUnicodeScalarView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ extension String.UnicodeScalarIndex {
412412
/// exactly to the specified `UTF16View` position.
413413
///
414414
/// The following example finds the position of a space in a string's `utf16`
415-
/// view and then converts that position to an index in the the string's
415+
/// view and then converts that position to an index in the string's
416416
/// `unicodeScalars` view:
417417
///
418418
/// let cafe = "Café 🍵"

0 commit comments

Comments
 (0)