Skip to content

Commit c7a2b31

Browse files
committed
Fixed the wrong indentation
1 parent 9a3038d commit c7a2b31

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/Darwin/Foundation/PlistEncoder.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ fileprivate struct _PlistKeyedEncodingContainer<K : CodingKey> : KeyedEncodingCo
266266

267267
public mutating func nestedContainer<NestedKey>(keyedBy keyType: NestedKey.Type, forKey key: Key) -> KeyedEncodingContainer<NestedKey> {
268268
let containerKey = key.stringValue
269-
let existingContainer = self.container[containerKey]
269+
let existingContainer = self.container[containerKey]
270270
precondition(existingContainer is NSMutableDictionary?,
271-
"Attempt to request for keyed container with the key that previously unkeyed container already requested.")
271+
"Attempt to request for keyed container with the key that previously unkeyed container already requested.")
272272
let dictionary = existingContainer as? NSMutableDictionary ?? NSMutableDictionary()
273273
self.container[containerKey] = dictionary
274274

@@ -283,8 +283,8 @@ fileprivate struct _PlistKeyedEncodingContainer<K : CodingKey> : KeyedEncodingCo
283283
let containerKey = key.stringValue
284284
let existingContainer = self.container[containerKey]
285285
precondition(existingContainer is NSMutableArray?,
286-
"Attempt to request for unkeyed container with the key that previously keyed container already requested.")
287-
let array = existingContainer as? NSMutableArray ?? NSMutableArray()
286+
"Attempt to request for unkeyed container with the key that previously keyed container already requested.")
287+
let array = existingContainer as? NSMutableArray ?? NSMutableArray()
288288
self.container[containerKey] = array
289289

290290
self.codingPath.append(key)

0 commit comments

Comments
 (0)