Skip to content

Commit ed23a17

Browse files
authored
Merge pull request #2735 from ahoppen/6.0/formatmode-sendable
[6.0] Mark `FormatMode` as `Sendable`
2 parents aadfa9a + 1cf2077 commit ed23a17

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)