We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f095ec2 commit c6c1a6eCopy full SHA for c6c1a6e
1 file changed
Sources/Apollo/Collections.swift
@@ -1,17 +1,3 @@
1
-extension Dictionary {
2
- subscript(key: Key, withDefault value: @autoclosure () -> Value) -> Value {
3
- mutating get {
4
- if self[key] == nil {
5
- self[key] = value()
6
- }
7
- return self[key]!
8
9
- set {
10
- self[key] = newValue
11
12
13
-}
14
-
15
public extension Dictionary {
16
static func += (lhs: inout Dictionary, rhs: Dictionary) {
17
#if swift(>=3.2)
0 commit comments