We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 248c3af + 67da202 commit 52a2638Copy full SHA for 52a2638
stdlib/public/Cxx/CxxDictionary.swift
@@ -165,7 +165,7 @@ extension CxxDictionary {
165
@inlinable
166
@discardableResult
167
public mutating func removeValue(forKey key: Key) -> Value? {
168
- var iter = self.__findMutatingUnsafe(key)
+ let iter = self.__findMutatingUnsafe(key)
169
guard iter != self.__endMutatingUnsafe() else { return nil }
170
171
let value = iter.pointee.second
0 commit comments