@@ -290,13 +290,13 @@ extension Attachment where AttachableValue: Sendable & ~Copyable {
290
290
/// derive a reasonable filename for the attached value.
291
291
/// - sourceLocation: The source location of the call to this function.
292
292
///
293
- /// When attaching a value of a type that does not conform to both
294
- /// [`Sendable`](https://developer.apple.com/documentation/swift/sendable) and
295
- /// [`Copyable`](https://developer.apple.com/documentation/swift/copyable),
296
- /// the testing library encodes it as data immediately. If the value cannot be
297
- /// encoded and an error is thrown, that error is recorded as an issue in the
298
- /// current test and the attachment is not written to the test report or to
299
- /// disk .
293
+ /// When `attachableValue` is an instance of a type that does not conform to
294
+ /// the [`Sendable`](https://developer.apple.com/documentation/swift/sendable)
295
+ /// protocol, the testing library encodes it as data immediately. If
296
+ /// `attachableValue` throws an error when the testing library attempts to
297
+ /// encode it, the testing library records that error as an issue in the
298
+ /// current test and does not write the attachment to the test report or to
299
+ /// persistent storage .
300
300
///
301
301
/// This function creates a new instance of ``Attachment`` and immediately
302
302
/// attaches it to the current test.
@@ -318,12 +318,13 @@ extension Attachment where AttachableValue: ~Copyable {
318
318
/// - attachment: The attachment to attach.
319
319
/// - sourceLocation: The source location of the call to this function.
320
320
///
321
- /// When attaching a value of a type that does not conform to the
322
- /// [`Sendable`](https://developer.apple.com/documentation/swift/sendable)
323
- /// protocol, the testing library encodes it as data immediately. If the value
324
- /// cannot be encoded and an error is thrown, that error is recorded as an
325
- /// issue in the current test and the attachment is not written to the test
326
- /// report or to disk.
321
+ /// When `attachableValue` is an instance of a type that does not conform to
322
+ /// the [`Sendable`](https://developer.apple.com/documentation/swift/sendable)
323
+ /// protocol, the testing library encodes it as data immediately. If
324
+ /// `attachableValue` throws an error when the testing library attempts to
325
+ /// encode it, the testing library records that error as an issue in the
326
+ /// current test and does not write the attachment to the test report or to
327
+ /// persistent storage.
327
328
///
328
329
/// @Metadata {
329
330
/// @Available(Swift, introduced: 6.2)
0 commit comments