[doc] Add missing colon after “Parameters”

This commit is contained in:
Karoy Lorentey committed 2026-02-05 16:48:05 -08:00
1 parent b9fd3ed56e
commit 35e09984f5
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
@@ -20,7 +20,7 @@ extension UniqueArray where Element: ~Copyable {
/// number of new elements, then this reallocates the array's storage to
/// grow its capacity, using a geometric growth rate.
///
/// - Parameters
/// - Parameters:
/// - count: The number of items to append to the array.
/// - initializer: A callback that gets called exactly once to directly
/// populate newly reserved storage within the array. The function
@@ -99,7 +99,7 @@ extension UniqueArray where Element: ~Copyable {
/// removes the elements in the given subrange without any replacement.
/// Calling `removeSubrange(subrange)` is preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - newCount: the number of items to replace the old subrange.
@@ -145,7 +145,7 @@ extension UniqueArray where Element: ~Copyable {
/// without replacement. Calling the `removeSubrange(_:)` method instead is
/// preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - newElements: A fully initialized buffer whose contents to move into
@@ -182,7 +182,7 @@ extension UniqueArray where Element: ~Copyable {
/// without replacement. Calling the `removeSubrange(_:)` method instead is
/// preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - items: An output span whose contents are to be moved into the array.
@@ -220,7 +220,7 @@ extension UniqueArray where Element: ~Copyable {
/// without replacement. Calling the `removeSubrange(_:)` method instead is
/// preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - newElements: An array whose contents to move into `self`.
@@ -256,7 +256,7 @@ extension UniqueArray where Element: ~Copyable {
/// without replacement. Calling the `removeSubrange(_:)` method instead is
/// preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - newElements: An array whose contents to move into `self`.
@@ -104,7 +104,7 @@ extension UniqueArray where Element: ~Copyable {
/// then this reallocates storage to extend its capacity, using a geometric
/// growth rate.
///
/// - Parameters
/// - Parameters:
/// - items: A fully initialized buffer whose contents to move into
/// the array.
///
@@ -130,7 +130,7 @@ extension UniqueArray where Element: ~Copyable {
/// then this reallocates storage to extend its capacity, using a geometric
/// growth rate.
///
/// - Parameters
/// - Parameters:
/// - items: An input span whose contents to move into
/// the array.
/// - index: The position at which to insert the new items.
@@ -157,7 +157,7 @@ extension UniqueArray where Element: ~Copyable {
/// then this reallocates storage to extend its capacity, using a geometric
/// growth rate.
///
/// - Parameters
/// - Parameters:
/// - items: An output span whose contents to move into
/// the array.
/// - index: The position at which to insert the new items.
@@ -182,7 +182,7 @@ extension UniqueArray where Element: ~Copyable {
/// then this reallocates storage to extend its capacity, using a geometric
/// growth rate.
///
/// - Parameters
/// - Parameters:
/// - items: An array whose contents to move into `self`.
///
/// - Complexity: O(`self.count` + `items.count`)
@@ -207,7 +207,7 @@ extension UniqueArray where Element: ~Copyable {
/// then this reallocates storage to extend its capacity, using a geometric
/// growth rate.
///
/// - Parameters
/// - Parameters:
/// - items: A fully initialized buffer whose contents to move into
/// the array.
///
@@ -241,7 +241,7 @@ extension UniqueArray {
/// then this reallocates the array's storage to extend its capacity, using a
/// geometric growth rate.
///
/// - Parameters
/// - Parameters:
/// - newElements: The new elements to insert into the array. The buffer
/// must be fully initialized.
/// - index: The position at which to insert the new elements. It must be
@@ -271,7 +271,7 @@ extension UniqueArray {
/// then this reallocates the array's storage to extend its capacity, using a
/// geometric growth rate.
///
/// - Parameters
/// - Parameters:
/// - newElements: The new elements to insert into the array. The buffer
/// must be fully initialized.
/// - index: The position at which to insert the new elements. It must be
@@ -299,7 +299,7 @@ extension UniqueArray {
/// then this reallocates the array's storage to extend its capacity, using a
/// geometric growth rate.
///
/// - Parameters
/// - Parameters:
/// - newElements: The new elements to insert into the array.
/// - index: The position at which to insert the new elements. It must be
/// a valid index of the array.
@@ -329,7 +329,7 @@ extension UniqueArray {
/// then this reallocates the array's storage to extend its capacity, using a
/// geometric growth rate.
///
/// - Parameters
/// - Parameters:
/// - newElements: The new elements to insert into the array.
/// - index: The position at which to insert the new elements. It must be
/// a valid index of the array.
@@ -364,7 +364,7 @@ extension UniqueArray {
/// then this reallocates the array's storage to extend its capacity, using a
/// geometric growth rate.
///
/// - Parameters
/// - Parameters:
/// - newElements: The new elements to insert into the array.
/// - index: The position at which to insert the new elements. It must be
/// a valid index of the array.
@@ -396,7 +396,7 @@ extension UniqueArray {
/// then this reallocates the array's storage to extend its capacity, using a
/// geometric growth rate.
///
/// - Parameters
/// - Parameters:
/// - newElements: The new elements to insert into the array.
/// - index: The position at which to insert the new elements. It must be
/// a valid index of the array.
@@ -49,7 +49,7 @@ extension UniqueArray where Element: ~Copyable {
/// the adjusted count. This adds some overhead compared to adding exactly as
/// many items as promised.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - newItemCount: the maximum number of items to replace the old subrange.
@@ -116,7 +116,7 @@ extension UniqueArray where Element: ~Copyable {
/// the adjusted count. This adds some overhead compared to adding exactly as
/// many items as promised.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the deque to replace. The bounds of
/// the range must be valid indices in the deque.
/// - consumer: A callback that gets called at most once to consume
@@ -174,7 +174,7 @@ extension UniqueArray where Element: ~Copyable {
/// without replacement. Calling the `removeSubrange(_:)` method instead is
/// preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - newElements: A fully initialized buffer whose contents to move into
@@ -213,7 +213,7 @@ extension UniqueArray where Element: ~Copyable {
/// without replacement. Calling the `removeSubrange(_:)` method instead is
/// preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - items: An input span whose contents are to be moved into the array.
@@ -251,7 +251,7 @@ extension UniqueArray where Element: ~Copyable {
/// without replacement. Calling the `removeSubrange(_:)` method instead is
/// preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - items: An output span whose contents are to be moved into the array.
@@ -290,7 +290,7 @@ extension UniqueArray where Element: ~Copyable {
/// without replacement. Calling the `removeSubrange(_:)` method instead is
/// preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - newElements: An array whose contents to move into `self`.
@@ -330,7 +330,7 @@ extension UniqueArray where Element: ~Copyable {
/// without replacement. Calling the `removeSubrange(_:)` method instead is
/// preferred in this case.
///
/// - Parameters
/// - Parameters:
/// - subrange: The subrange of the array to replace. The bounds of
/// the range must be valid indices in the array.
/// - newElements: An array whose contents to move into `self`.