mirror of
https://github.com/apple/swift-collections
synced 2026-11-28 05:04:21 +00:00
[doc] Add missing colon after “Parameters”
This commit is contained in:
19 files changed
+154
-154
No files matched your search
@@ -77,7 +77,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
/// buffer, then this reallocates the array's storage to grow its capacity,
|
||||
/// using a geometric growth rate.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - items: A fully initialized buffer whose contents to move into
|
||||
/// the array.
|
||||
///
|
||||
@@ -98,7 +98,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
/// then this reallocates the array's storage to grow its capacity,
|
||||
/// using a geometric growth rate.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - items: An input span whose contents need to be appended to this array.
|
||||
///
|
||||
/// - Complexity: O(`items.count`)
|
||||
@@ -118,7 +118,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
/// then this reallocates the array's storage to grow its capacity,
|
||||
/// using a geometric growth rate.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - items: An output span whose contents need to be appended to this array.
|
||||
///
|
||||
/// - Complexity: O(`items.count`)
|
||||
@@ -138,7 +138,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
/// in the source array, then this automatically grows the target array's
|
||||
/// capacity, using a geometric growth rate.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - items: An array whose items to move to the end of this array.
|
||||
///
|
||||
/// - Complexity: O(`items.count`) when amortized over many invocations on
|
||||
@@ -163,7 +163,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
/// in the source array, then this automatically grows the target array's
|
||||
/// capacity, using a geometric growth rate.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - items: An array whose items to move to the end of this array.
|
||||
///
|
||||
/// - Complexity: O(`items.count`)
|
||||
@@ -186,7 +186,7 @@ extension UniqueArray {
|
||||
/// in the source buffer, then this automatically grows the array's
|
||||
/// capacity, using a geometric growth rate.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - newElements: A fully initialized buffer whose contents to copy into
|
||||
/// the array.
|
||||
///
|
||||
@@ -206,7 +206,7 @@ extension UniqueArray {
|
||||
/// then this reallocates the array's storage to extend its capacity, using
|
||||
/// a geometric growth rate.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - newElements: A fully initialized buffer whose contents to copy into
|
||||
/// the array.
|
||||
///
|
||||
@@ -225,7 +225,7 @@ extension UniqueArray {
|
||||
/// then this reallocates the array's storage to extend its capacity, using a
|
||||
/// geometric growth rate.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - newElements: A span whose contents to copy into the array.
|
||||
///
|
||||
/// - Complexity: O(`newElements.count`) when amortized over many
|
||||
@@ -264,7 +264,7 @@ extension UniqueArray {
|
||||
/// estimate of its count, then the array's storage may need to be resized
|
||||
/// more than once.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - newElements: A container whose contents to copy into the array.
|
||||
///
|
||||
/// - Complexity: O(`newElements.count`), when amortized over many invocations
|
||||
@@ -289,7 +289,7 @@ extension UniqueArray {
|
||||
/// estimate of its count, then the array's storage may need to be resized
|
||||
/// more than once.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - newElements: The new elements to copy into the array.
|
||||
///
|
||||
/// - Complexity: O(*m*), where *m* is the length of `newElements`, when
|
||||
@@ -318,7 +318,7 @@ extension UniqueArray {
|
||||
/// then this reallocates the array's storage to extend its capacity, using a
|
||||
/// geometric growth rate.
|
||||
///
|
||||
/// - Parameters
|
||||
/// - Parameters:
|
||||
/// - newElements: A container whose contents to copy into the array.
|
||||
///
|
||||
/// - Complexity: O(`newElements.count`), when amortized over many invocations
|
||||
|
||||
Reference in new issue
Block a user