@@ -38,8 +38,8 @@ public struct Attachment<AttachableValue> where AttachableValue: Attachable & ~C
38
38
}
39
39
}
40
40
41
- /// Storage for ``attachableValue``.
42
- fileprivate var storage : Storage
41
+ /// Storage for ``attachableValue-7dyjv ``.
42
+ private var _storage : Storage
43
43
44
44
/// The path to which the this attachment was written, if any.
45
45
///
@@ -118,7 +118,7 @@ extension Attachment where AttachableValue: ~Copyable {
118
118
/// @Available(Xcode, introduced: 26.0)
119
119
/// }
120
120
public init ( _ attachableValue: consuming AttachableValue , named preferredName: String ? = nil , sourceLocation: SourceLocation = #_sourceLocation) {
121
- self . storage = Storage ( attachableValue)
121
+ self . _storage = Storage ( attachableValue)
122
122
self . _preferredName = preferredName
123
123
self . sourceLocation = sourceLocation
124
124
}
@@ -180,14 +180,6 @@ public struct AnyAttachable: AttachableWrapper, Sendable, Copyable {
180
180
181
181
// MARK: - Describing an attachment
182
182
183
- extension Attachment where AttachableValue: ~ Copyable {
184
- @_documentation ( visibility: private)
185
- public var description : String {
186
- let typeInfo = TypeInfo ( describing: AttachableValue . self)
187
- return #"" \#( preferredName) ": instance of ' \#( typeInfo. unqualifiedName) '"#
188
- }
189
- }
190
-
191
183
extension Attachment : CustomStringConvertible {
192
184
/// @Metadata {
193
185
/// @Available(Swift, introduced: 6.2)
@@ -209,7 +201,7 @@ extension Attachment where AttachableValue: ~Copyable {
209
201
/// }
210
202
@_disfavoredOverload public var attachableValue : AttachableValue {
211
203
_read {
212
- yield storage . attachableValue
204
+ yield _storage . attachableValue
213
205
}
214
206
}
215
207
}
0 commit comments