diff --git a/Sources/BasicContainers/RigidArray/RigidArray.swift b/Sources/BasicContainers/RigidArray/RigidArray.swift index 5d9fdaf7..bf7713e2 100644 --- a/Sources/BasicContainers/RigidArray/RigidArray.swift +++ b/Sources/BasicContainers/RigidArray/RigidArray.swift @@ -344,9 +344,8 @@ extension RigidArray where Element: ~Copyable { /// buffer of the specified capacity, moving all existing elements /// to its new storage. The old storage is then deallocated. /// - /// - Parameter newCapacity: The desired new capacity. `newCapacity` must be -/// - Parameter newCapacity: The desired new capacity. The new capacity -/// is set to the maximum of `newCapacity` and the current count. + /// - Parameter newCapacity: The desired new capacity. The new capacity + /// is set to the maximum of `newCapacity` and the current count. /// /// - Complexity: O(`count`) @inlinable diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray.swift b/Sources/BasicContainers/UniqueArray/UniqueArray.swift index 007b03aa..f89cd353 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray.swift @@ -254,9 +254,8 @@ extension UniqueArray where Element: ~Copyable { /// buffer of the specified capacity, moving all existing elements /// to its new storage. The old storage is then deallocated. /// - /// - Parameter newCapacity: The desired new capacity. `newCapacity` must be -/// - Parameter newCapacity: The desired new capacity. The new capacity -/// is set to the maximum of `newCapacity` and the current count. + /// - Parameter newCapacity: The desired new capacity. The new capacity + /// is set to the maximum of `newCapacity` and the current count. /// /// - Complexity: O(`count`) @inlinable