From 2a39308613dc34ab565442c671002f8c2ed77a86 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Wed, 10 Jun 2026 14:32:13 -0700 Subject: [PATCH] Update Sources/BasicContainers/UniqueArray/UniqueArray.swift Co-authored-by: Karoy Lorentey --- Sources/BasicContainers/UniqueArray/UniqueArray.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/BasicContainers/UniqueArray/UniqueArray.swift b/Sources/BasicContainers/UniqueArray/UniqueArray.swift index df9fd7f8..007b03aa 100644 --- a/Sources/BasicContainers/UniqueArray/UniqueArray.swift +++ b/Sources/BasicContainers/UniqueArray/UniqueArray.swift @@ -255,7 +255,8 @@ extension UniqueArray where Element: ~Copyable { /// to its new storage. The old storage is then deallocated. /// /// - Parameter newCapacity: The desired new capacity. `newCapacity` must be - /// greater than or equal to 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