You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/ExtractCaseValueMacros/Documentation.docc/Documentation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ The `ExtractCaseValue` package provides a macro to expose assiocated values from
10
10
11
11
@Row {
12
12
@Column {
13
-
To extract a simple value annotate an enum with the `ExtractCaseValue` macro and provide the expected type as a generic along with a name for the comuted property. This will use the `firstMatchingType` as a default to use the first associated value in a case that matches the expected type (in this case `String`).
13
+
To extract a simple value annotate an enum with the `ExtractCaseValue` macro and provide the expected type as a generic along with a name for the comuted property. This will use the ``CaseExtractionKind/firstMatchingType`` as a default to use the first associated value in a case that matches the expected type (in this case `String`).
14
14
}
15
15
@Column {
16
16

0 commit comments