Skip to content

Commit 59b8816

Browse files
committed
Fix typos
1 parent 52fab75 commit 59b8816

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/UTF8SpanIterators.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension UTF8Span {
2323

2424
// **TODO**: Examples in below doc
2525

26-
/// Iterate the `Unicode.Scalar`s contents of a `UTF8Span`.
26+
/// Iterate the `Unicode.Scalar`s contents of a `UTF8Span`.
2727
@frozen
2828
public struct UnicodeScalarIterator: ~Escapable {
2929
public let codeUnits: UTF8Span
@@ -174,7 +174,7 @@ extension UTF8Span {
174174
self.currentCodeUnitOffset = codeUnits._scalarAlignForwards(i)
175175
}
176176

177-
// TODO: for below, verify that there is no path to UB, just garabage-data or guaranteed
177+
// TODO: for below, verify that there is no path to UB, just garbage-data or guaranteed
178178
// trap!
179179

180180
/// Reset this iterator to `codeUnitOffset`, skipping _all_ safety

0 commit comments

Comments
 (0)