Skip to content

Commit 3e4e711

Browse files
committed
Had to undo parts of pull request Minor Dictionary changes #13 because forEach it did not compile.
1 parent a3d6297 commit 3e4e711

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Source/Dictionary.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,12 @@ public struct Dictionary<Key, Value> /*: INSFastEnumeration<T>*/
334334
dictionary = PlatformDictionary<Key,Value>()
335335
unique = true
336336
}
337-
338-
public func forEach(_ body: ((key: Key, value: Value)) throws -> Void) rethrows {
339-
for item in self {
340-
try body(item)
341-
}
342-
}
337+
338+
//public func forEach(_ body: ((key: Key, value: Value)) throws -> Void) rethrows {
339+
//for item in self {
340+
//try body(item)
341+
//}
342+
//}
343343

344344
public var count: Int {
345345
#if JAVA

0 commit comments

Comments
 (0)