Skip to content

Commit 9007036

Browse files
authored
Merge pull request #84276 from atrick/remove-span-unsafenonescapable
Mutable[Raw]Span.init() does not need @_unsafeNonescapableResult
2 parents 01d458b + 2006735 commit 9007036

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

stdlib/public/core/Span/MutableRawSpan.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public struct MutableRawSpan: ~Copyable & ~Escapable {
4242
}
4343

4444
@unsafe
45-
@_unsafeNonescapableResult
4645
@_alwaysEmitIntoClient
4746
@lifetime(borrow pointer)
4847
internal init(

stdlib/public/core/Span/MutableSpan.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public struct MutableSpan<Element: ~Copyable>
4343
}
4444

4545
@unsafe
46-
@_unsafeNonescapableResult
4746
@_alwaysEmitIntoClient
4847
@lifetime(borrow start)
4948
internal init(

0 commit comments

Comments
 (0)