mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
Fix documentation for types conforming to ExpressibleByArrayLiteral or ExpressibleByDictionaryLiteral (#82)
This commit is contained in:
1 parent
0d73c74c9f
commit
69d4867984
4 files changed
+12
-15
No files matched your search
@@ -18,7 +18,7 @@ extension Heap: ExpressibleByArrayLiteral {
|
||||
/// square brackets. You can use an array literal anywhere a heap is expected
|
||||
/// by the type context.
|
||||
///
|
||||
/// - Parameter elements: A variadic list of elements of the new set.
|
||||
/// - Parameter elements: A variadic list of elements of the new heap.
|
||||
public init(arrayLiteral elements: Element...) {
|
||||
self.init(elements)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user