Skip to content

Commit ee21d9c

Browse files
authored
Merge pull request #1789 from maiyama18/fix-compile-error-on-tutorial
Fix compile error on tutorial
2 parents e6de6bf + e4626bf commit ee21d9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step10.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import Foundation
5555
}
5656
return
5757
sourceFile
58-
.with(\.statements, CodeBlockItemSyntax(formattedStatements))
58+
.with(\.statements, CodeBlockItemListSyntax(formattedStatements))
5959
}
6060

6161
enum Item {

Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step11.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import Foundation
5858
}
5959
return
6060
sourceFile
61-
.with(\.statements, CodeBlockItemSyntax(formattedStatements))
61+
.with(\.statements, CodeBlockItemListSyntax(formattedStatements))
6262
}
6363

6464
enum Item {

0 commit comments

Comments
 (0)