@@ -95,7 +95,7 @@ extension Span where Element: ~Copyable {
95
95
public init (
96
96
_unsafeElements buffer: borrowing UnsafeBufferPointer < Element >
97
97
) {
98
- let baseAddress = buffer. baseAddress //FIXME: rdar://138665760
98
+ let baseAddress = buffer. baseAddress // FIXME: rdar://138665760
99
99
_precondition (
100
100
( ( Int ( bitPattern: baseAddress) &
101
101
( MemoryLayout < Element > . alignment &- 1 ) ) == 0 ) ,
@@ -204,7 +204,7 @@ extension Span where Element: BitwiseCopyable {
204
204
public init (
205
205
_unsafeBytes buffer: borrowing UnsafeRawBufferPointer
206
206
) {
207
- let baseAddress = buffer. baseAddress //FIXME: rdar://138665760
207
+ let baseAddress = buffer. baseAddress // FIXME: rdar://138665760
208
208
_precondition (
209
209
( ( Int ( bitPattern: baseAddress) &
210
210
( MemoryLayout < Element > . alignment &- 1 ) ) == 0 ) ,
@@ -448,7 +448,7 @@ extension Span where Element: ~Copyable {
448
448
@_disallowFeatureSuppression ( NonescapableTypes)
449
449
@_alwaysEmitIntoClient
450
450
public subscript( _ position: Index ) -> Element {
451
- //FIXME: change to unsafeRawAddress when ready
451
+ // FIXME: change to unsafeRawAddress when ready
452
452
unsafeAddress {
453
453
_precondition ( indices. contains ( position) , " Index out of bounds " )
454
454
return _unsafeAddressOfElement ( unchecked: position)
@@ -468,7 +468,7 @@ extension Span where Element: ~Copyable {
468
468
@unsafe
469
469
@_alwaysEmitIntoClient
470
470
public subscript( unchecked position: Index ) -> Element {
471
- //FIXME: change to unsafeRawAddress when ready
471
+ // FIXME: change to unsafeRawAddress when ready
472
472
unsafeAddress {
473
473
_unsafeAddressOfElement ( unchecked: position)
474
474
}
0 commit comments