Skip to content

Commit 9e8019a

Browse files
committed
[stdlib] make annotation adjustments
1 parent d5ef256 commit 9e8019a

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

stdlib/public/core/StringGuts.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import SwiftShims
1717
// functionality and guidance for efficiently working with Strings.
1818
//
1919
@frozen
20+
@_addressableForDependencies
2021
public // SPI(corelibs-foundation)
2122
struct _StringGuts: @unchecked Sendable {
2223
@usableFromInline

stdlib/public/core/StringUTF8View.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ extension String {
8989
/// print(String(s1.utf8.prefix(15))!)
9090
/// // Prints "They call me 'B"
9191
@frozen
92-
@_addressableForDependencies
9392
public struct UTF8View: Sendable {
9493
@usableFromInline
9594
internal var _guts: _StringGuts

stdlib/public/core/Substring.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,6 @@ extension Substring: LosslessStringConvertible {
630630

631631
extension Substring {
632632
@frozen
633-
@_addressableForDependencies
634633
public struct UTF8View: Sendable {
635634
@usableFromInline
636635
internal var _slice: Slice<String.UTF8View>

0 commit comments

Comments
 (0)