Skip to content

Commit 0602c40

Browse files
committed
fix: add missing whitespace in FIXME comment
1 parent e4d84d5 commit 0602c40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/core/Span/Span.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ extension Span where Element: ~Copyable {
9999
public init(
100100
_unsafeElements buffer: UnsafeBufferPointer<Element>
101101
) {
102-
//FIXME: Workaround for https://github.com/swiftlang/swift/issues/77235
102+
// FIXME: Workaround for https://github.com/swiftlang/swift/issues/77235
103103
let baseAddress = UnsafeRawPointer(buffer.baseAddress)
104104
_precondition(
105105
((Int(bitPattern: baseAddress) &
@@ -221,7 +221,7 @@ extension Span where Element: BitwiseCopyable {
221221
public init(
222222
_unsafeBytes buffer: UnsafeRawBufferPointer
223223
) {
224-
//FIXME: Workaround for https://github.com/swiftlang/swift/issues/77235
224+
// FIXME: Workaround for https://github.com/swiftlang/swift/issues/77235
225225
let baseAddress = buffer.baseAddress
226226
_precondition(
227227
((Int(bitPattern: baseAddress) &
@@ -398,7 +398,7 @@ extension Span where Element: ~Copyable {
398398
/// - Complexity: O(1)
399399
@_alwaysEmitIntoClient
400400
public subscript(_ position: Index) -> Element {
401-
//FIXME: change to unsafeRawAddress when ready
401+
// FIXME: change to unsafeRawAddress when ready
402402
unsafeAddress {
403403
_precondition(indices.contains(position), "Index out of bounds")
404404
return _unsafeAddressOfElement(unchecked: position)
@@ -417,7 +417,7 @@ extension Span where Element: ~Copyable {
417417
@unsafe
418418
@_alwaysEmitIntoClient
419419
public subscript(unchecked position: Index) -> Element {
420-
//FIXME: change to unsafeRawAddress when ready
420+
// FIXME: change to unsafeRawAddress when ready
421421
unsafeAddress {
422422
_unsafeAddressOfElement(unchecked: position)
423423
}

0 commit comments

Comments
 (0)