@@ -38,8 +38,8 @@ public struct Attachment<AttachableValue> where AttachableValue: Attachable & ~C
3838 }
3939 }
4040
41- /// Storage for ``attachableValue``.
42- fileprivate var storage : Storage
41+ /// Storage for ``attachableValue-7dyjv ``.
42+ private var _storage : Storage
4343
4444 /// The path to which the this attachment was written, if any.
4545 ///
@@ -118,7 +118,7 @@ extension Attachment where AttachableValue: ~Copyable {
118118 /// @Available(Xcode, introduced: 26.0)
119119 /// }
120120 public init ( _ attachableValue: consuming AttachableValue , named preferredName: String ? = nil , sourceLocation: SourceLocation = #_sourceLocation) {
121- self . storage = Storage ( attachableValue)
121+ self . _storage = Storage ( attachableValue)
122122 self . _preferredName = preferredName
123123 self . sourceLocation = sourceLocation
124124 }
@@ -180,14 +180,6 @@ public struct AnyAttachable: AttachableWrapper, Sendable, Copyable {
180180
181181// MARK: - Describing an attachment
182182
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-
191183extension Attachment : CustomStringConvertible {
192184 /// @Metadata {
193185 /// @Available(Swift, introduced: 6.2)
@@ -209,7 +201,7 @@ extension Attachment where AttachableValue: ~Copyable {
209201 /// }
210202 @_disfavoredOverload public var attachableValue : AttachableValue {
211203 _read {
212- yield storage . attachableValue
204+ yield _storage . attachableValue
213205 }
214206 }
215207}
0 commit comments