File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ extension Span where Element: ~Copyable {
462
462
//FIXME: change to unsafeRawAddress when ready
463
463
unsafeAddress {
464
464
_precondition ( indices. contains ( position) , " Index out of bounds " )
465
- return unsafeAddressOfElement ( unchecked: position)
465
+ return _unsafeAddressOfElement ( unchecked: position)
466
466
}
467
467
}
468
468
@@ -481,14 +481,14 @@ extension Span where Element: ~Copyable {
481
481
public subscript( unchecked position: Index ) -> Element {
482
482
//FIXME: change to unsafeRawAddress when ready
483
483
unsafeAddress {
484
- unsafeAddressOfElement ( unchecked: position)
484
+ _unsafeAddressOfElement ( unchecked: position)
485
485
}
486
486
}
487
487
488
488
@_disallowFeatureSuppression ( NonescapableTypes)
489
489
@unsafe
490
490
@_alwaysEmitIntoClient
491
- internal func unsafeAddressOfElement (
491
+ internal func _unsafeAddressOfElement (
492
492
unchecked position: Index
493
493
) -> UnsafePointer < Element > {
494
494
let elementOffset = position &* MemoryLayout< Element> . stride
You can’t perform that action at this time.
0 commit comments