Skip to content

Commit 955d133

Browse files
committed
DocC improvements
1 parent df8fdb9 commit 955d133

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Sources/Testing/Test+Macro.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,9 @@ extension Test {
377377

378378
/// Create an instance of ``Test`` for a parameterized function.
379379
///
380+
/// This initializer overload is specialized for collections of 2-tuples to
381+
/// efficiently de-structure their elements when appropriate.
382+
///
380383
/// - Warning: This function is used to implement the `@Test` macro. Do not
381384
/// call it directly.
382385
public static func __function<C, E1, E2>(
@@ -397,6 +400,10 @@ extension Test {
397400

398401
/// Create an instance of ``Test`` for a parameterized function.
399402
///
403+
/// This initializer overload is specialized for dictionary collections, to
404+
/// efficiently de-structure their elements (which are known to be 2-tuples)
405+
/// when appropriate.
406+
///
400407
/// - Warning: This function is used to implement the `@Test` macro. Do not
401408
/// call it directly.
402409
public static func __function<Key, Value>(

0 commit comments

Comments
 (0)