mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
Merge pull request #590 from lorentey/prerelease-tasks
[BasicContainers] RigidArray: Correct spelling of replacement for deprecated method
This commit is contained in:
1 file changed
+1
-1
@@ -108,7 +108,7 @@ extension RigidArray where Element: ~Copyable {
|
||||
/// and it must fully populate it before returning.
|
||||
///
|
||||
/// - Complexity: O(`self.count` + `newCount`)
|
||||
@available(*, deprecated, renamed: "replace(removing:addingCapacity:initializingWith:)")
|
||||
@available(*, deprecated, renamed: "replace(removing:addingCount:initializingWith:)")
|
||||
@inlinable
|
||||
public mutating func replaceSubrange<Result: ~Copyable>(
|
||||
_ subrange: Range<Int>,
|
||||
|
||||
Reference in new issue
Block a user