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 {
462462 //FIXME: change to unsafeRawAddress when ready
463463 unsafeAddress {
464464 _precondition ( indices. contains ( position) , " Index out of bounds " )
465- return unsafeAddressOfElement ( unchecked: position)
465+ return _unsafeAddressOfElement ( unchecked: position)
466466 }
467467 }
468468
@@ -481,14 +481,14 @@ extension Span where Element: ~Copyable {
481481 public subscript( unchecked position: Index ) -> Element {
482482 //FIXME: change to unsafeRawAddress when ready
483483 unsafeAddress {
484- unsafeAddressOfElement ( unchecked: position)
484+ _unsafeAddressOfElement ( unchecked: position)
485485 }
486486 }
487487
488488 @_disallowFeatureSuppression ( NonescapableTypes)
489489 @unsafe
490490 @_alwaysEmitIntoClient
491- internal func unsafeAddressOfElement (
491+ internal func _unsafeAddressOfElement (
492492 unchecked position: Index
493493 ) -> UnsafePointer < Element > {
494494 let elementOffset = position &* MemoryLayout< Element> . stride
You can’t perform that action at this time.
0 commit comments