We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbb9662 commit 7964141Copy full SHA for 7964141
Sources/SwiftBSON/JSON.swift
@@ -56,7 +56,7 @@ extension JSON: ExpressibleByBooleanLiteral {
56
57
extension JSON: ExpressibleByArrayLiteral {
58
internal init(arrayLiteral elements: JSON...) {
59
- self.value = .array(elements.map(\.value))
+ self.value = .array(elements.map { $0.value })
60
}
61
62
0 commit comments