Skip to content

Commit 441be20

Browse files
committed
Add a document comment
1 parent b7252d2 commit 441be20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Examples/Sources/MacroExamples/Interface/AccessorMacros.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import SwiftUI
1414

1515
// MARK: - EnvironmentValue Accessor
1616

17+
/// Adds getter / setter to an attached environment value with specified EnvironmentKey
1718
@attached(accessor)
1819
public macro EnvironmentValue(for key: any EnvironmentKey.Type) =
1920
#externalMacro(module: "MacroExamplesImplementation", type: "EnvironmentValueMacro")

0 commit comments

Comments
 (0)