Skip to content

Commit 2484b66

Browse files
committed
[stdlib] use the internal unsafe-unwrap
1 parent e7320e5 commit 2484b66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/public/core/Span/MutableRawSpan.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public struct MutableRawSpan: ~Copyable & ~Escapable {
2424

2525
@_alwaysEmitIntoClient
2626
internal func _start() -> UnsafeMutableRawPointer {
27-
unsafe _pointer.unsafelyUnwrapped
27+
unsafe _pointer._unsafelyUnwrappedUnchecked
2828
}
2929

3030
@_alwaysEmitIntoClient

stdlib/public/core/Span/MutableSpan.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public struct MutableSpan<Element: ~Copyable & ~Escapable>
2525

2626
@_alwaysEmitIntoClient
2727
internal func _start() -> UnsafeMutableRawPointer {
28-
unsafe _pointer.unsafelyUnwrapped
28+
unsafe _pointer._unsafelyUnwrappedUnchecked
2929
}
3030

3131
@_alwaysEmitIntoClient

0 commit comments

Comments
 (0)