Skip to content

Commit 095c7d3

Browse files
authored
Merge pull request #2734 from ahoppen/formatmode-sendable
Mark `FormatMode` as `Sendable`
2 parents 5f8e664 + b77a054 commit 095c7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftSyntaxMacros/MacroProtocols/Macro+Format.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
/// Describes the mode to use to format the result of an expansion.
14-
public enum FormatMode {
14+
public enum FormatMode: Sendable {
1515
/// Perform a basic format of the expansion. This is primarily for inserting
1616
/// whitespace as required (eg. between two keywords), but also adds simple
1717
/// newline and indentation.

0 commit comments

Comments
 (0)