Skip to content

Commit 17a0c6b

Browse files
committed
[JSON] Style and documentation improvements, and cleanups
Update for review comments
1 parent 197a45c commit 17a0c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftCompilerPluginMessageHandling/JSON/JSONEncoding.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private class JSONReference {
5555
guard case .array(var arr) = backing else {
5656
preconditionFailure()
5757
}
58-
backing = .null // Ensure 'err' uniquely referenced.
58+
backing = .null // Ensure 'arr' uniquely referenced.
5959
arr.append(value)
6060
backing = .array(arr)
6161
}

0 commit comments

Comments
 (0)