Skip to content

Commit 80056e2

Browse files
committed
Fixed the wrong indentation due to the GitHub editor
1 parent c7a2b31 commit 80056e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/Darwin/Foundation/PlistEncoder.swift

Lines changed: 3 additions & 3 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,7 +283,7 @@ 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.")
286+
"Attempt to request for unkeyed container with the key that previously keyed container already requested.")
287287
let array = existingContainer as? NSMutableArray ?? NSMutableArray()
288288
self.container[containerKey] = array
289289

0 commit comments

Comments
 (0)