Skip to content

Commit 52fab75

Browse files
committed
Fix parameter name in doc comment in UTF8SpanIterators.swift
1 parent c987ea9 commit 52fab75

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

stdlib/public/core/UTF8SpanIterators.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ extension UTF8Span {
8484
}
8585

8686

87-
/// Advance `codeUnitOffset` to the end of the current scalar, without
87+
/// Advance `currentCodeUnitOffset` to the end of the current scalar, without
8888
/// decoding it.
8989
///
9090
/// Returns the number of `Unicode.Scalar`s skipped over, which can be 0
@@ -103,7 +103,7 @@ extension UTF8Span {
103103
return 1
104104
}
105105

106-
/// Advance `codeUnitOffset` to the end of `n` scalars, without decoding
106+
/// Advance `currentCodeUnitOffset` to the end of `n` scalars, without decoding
107107
/// them.
108108
///
109109
/// Returns the number of `Unicode.Scalar`s skipped over, which can be
@@ -120,7 +120,7 @@ extension UTF8Span {
120120
return numSkipped
121121
}
122122

123-
/// Move `codeUnitOffset` to the start of the previous scalar, without
123+
/// Move `currentCodeUnitOffset` to the start of the previous scalar, without
124124
/// decoding it.
125125
///
126126
/// Returns the number of `Unicode.Scalar`s skipped over, which can be 0
@@ -139,7 +139,7 @@ extension UTF8Span {
139139
return 1
140140
}
141141

142-
/// Move `codeUnitOffset` to the start of the previous `n` scalars,
142+
/// Move `currentCodeUnitOffset` to the start of the previous `n` scalars,
143143
/// without decoding them.
144144
///
145145
/// Returns the number of `Unicode.Scalar`s skipped over, which can be
@@ -299,7 +299,7 @@ extension UTF8Span {
299299
return result
300300
}
301301

302-
/// Advance `codeUnitOffset` to the end of the current `Character`,
302+
/// Advance `currentCodeUnitOffset` to the end of the current `Character`,
303303
/// without constructing it.
304304
///
305305
/// Returns the number of `Character`s skipped over, which can be 0
@@ -316,7 +316,7 @@ extension UTF8Span {
316316
return 1
317317
}
318318

319-
/// Advance `codeUnitOffset` to the end of `n` `Characters`, without
319+
/// Advance `currentCodeUnitOffset` to the end of `n` `Characters`, without
320320
/// constructing them.
321321
///
322322
/// Returns the number of `Character`s skipped over, which can be
@@ -331,7 +331,7 @@ extension UTF8Span {
331331
return numSkipped
332332
}
333333

334-
/// Move `codeUnitOffset` to the start of the previous `Character`,
334+
/// Move `currentCodeUnitOffset` to the start of the previous `Character`,
335335
/// without constructing it.
336336
///
337337
/// Returns the number of `Character`s skipped over, which can be 0
@@ -349,7 +349,7 @@ extension UTF8Span {
349349

350350
}
351351

352-
/// Move `codeUnitOffset` to the start of the previous `n` `Character`s,
352+
/// Move `currentCodeUnitOffset` to the start of the previous `n` `Character`s,
353353
/// without constructing them.
354354
///
355355
/// Returns the number of `Character`s skipped over, which can be

0 commit comments

Comments
 (0)