Skip to content

Commit e4626bf

Browse files
committed
Fix compile error on tutorial
1 parent 208f111 commit e4626bf

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)