mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
Dictionary.init(elements:) is public.
This commit is contained in:
parent
16a933af86
commit
eb62a4e08f
@ -1,5 +1,5 @@
|
||||
extension Dictionary {
|
||||
init<C: CollectionType where C.Generator.Element == (Key, Value)>(elements: C) {
|
||||
public init<C: CollectionType where C.Generator.Element == (Key, Value)>(elements: C) {
|
||||
self.init(minimumCapacity: Int(elements.count.toIntMax()))
|
||||
for (key, value) in elements {
|
||||
self[key] = value
|
||||
|
Loading…
Reference in New Issue
Block a user