Skip to content

Commit cfe368e

Browse files
author
mkandil
committed
remove key from __beginUnsafe
1 parent 66acf3b commit cfe368e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Cxx/CxxDictionary.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public protocol CxxDictionary<Key, Value> {
3030

3131
/// Do not implement this function manually in Swift.
3232
func __beginUnsafe() -> RawIterator
33-
33+
3434
/// Do not implement this function manually in Swift.
3535
mutating func __findMutatingUnsafe(_ key: Key) -> RawMutableIterator
3636

@@ -80,7 +80,7 @@ extension CxxDictionary {
8080
_ isIncluded: (_ key: Key, _ value: Value) throws -> Bool
8181
) rethrows -> [Key: Value] {
8282
var filteredDictionary: [Key: Value] = [:]
83-
var iterator = __beginUnsafe(Key)
83+
var iterator = __beginUnsafe()
8484
let endIterator = __endUnsafe()
8585

8686
while iterator != endIterator {

0 commit comments

Comments
 (0)