Skip to content

Commit f84e621

Browse files
Azoyglessard
authored andcommitted
Update InlineArray.swift
1 parent f546bc8 commit f84e621

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/core/InlineArray.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,21 +514,21 @@ extension InlineArray where Element: ~Copyable {
514514

515515
@available(SwiftStdlib 6.2, *)
516516
extension InlineArray where Element: ~Copyable {
517-
518517
@available(SwiftStdlib 6.2, *)
518+
@_addressableSelf
519+
@_alwaysEmitIntoClient
519520
public var span: Span<Element> {
520521
@lifetime(borrow self)
521-
@_alwaysEmitIntoClient
522522
borrowing get {
523523
let span = unsafe Span(_unsafeStart: _protectedAddress, count: count)
524524
return unsafe _overrideLifetime(span, borrowing: self)
525525
}
526526
}
527527

528528
@available(SwiftStdlib 6.2, *)
529+
@_alwaysEmitIntoClient
529530
public var mutableSpan: MutableSpan<Element> {
530531
@lifetime(&self)
531-
@_alwaysEmitIntoClient
532532
mutating get {
533533
let span = unsafe MutableSpan(
534534
_unsafeStart: _protectedMutableAddress,

0 commit comments

Comments
 (0)