Skip to content

Commit c00cb64

Browse files
author
mkandil
committed
add primary associated types to cxxDictionary protocol
1 parent b8dbae3 commit c00cb64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Cxx/CxxDictionary.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
///
1515
/// C++ standard library types such as `std::map` and `std::unordered_map`
1616
/// conform to this protocol.
17-
public protocol CxxDictionary where Key: Hashable {
17+
public protocol CxxDictionary<Key, Value> {
1818
associatedtype Key
1919
associatedtype Value
2020
associatedtype Element: CxxPair<Key, Value>

0 commit comments

Comments
 (0)