@@ -1338,7 +1338,7 @@ extension ${Self} : RangeReplaceableCollection, ArrayProtocol {
1338
1338
/// The count of the new buffer is set to `oldCount`, the capacity of the
1339
1339
/// new buffer is big enough to hold 'oldCount' + 1 elements.
1340
1340
@inline ( never)
1341
- @usableFromInline
1341
+ @inlinable // @specializable
1342
1342
internal mutating func _copyToNewBuffer( oldCount: Int) {
1343
1343
let newCount = oldCount + 1
1344
1344
var newBuffer = _buffer. _forceCreateUniqueMutableBuffer (
@@ -1990,7 +1990,7 @@ extension _ArrayBufferProtocol {
1990
1990
/// max(requiredCapacity, source.capacity) if newCount <= source.capacity
1991
1991
/// max(requiredCapacity, _growArrayCapacity(source.capacity)) otherwise
1992
1992
@inline ( never)
1993
- @usableFromInline
1993
+ @inlinable // @specializable
1994
1994
internal func _forceCreateUniqueMutableBuffer(
1995
1995
newCount: Int , requiredCapacity: Int
1996
1996
) -> _ContiguousArrayBuffer < Element > {
@@ -2006,7 +2006,7 @@ extension _ArrayBufferProtocol {
2006
2006
/// max(minNewCapacity, source.capacity) if minNewCapacity <= source.capacity
2007
2007
/// max(minNewCapacity, _growArrayCapacity(source.capacity)) otherwise
2008
2008
@inline ( never)
2009
- @usableFromInline
2009
+ @inlinable // @specializable
2010
2010
internal func _forceCreateUniqueMutableBuffer(
2011
2011
countForNewBuffer: Int , minNewCapacity: Int
2012
2012
) -> _ContiguousArrayBuffer < Element > {
@@ -2055,7 +2055,7 @@ extension _ArrayBufferProtocol {
2055
2055
/// As an optimization, may move elements out of source rather than
2056
2056
/// copying when it isUniquelyReferenced.
2057
2057
@inline ( never)
2058
- @usableFromInline
2058
+ @inlinable // @specializable
2059
2059
internal mutating func _arrayOutOfPlaceUpdate< Initializer> (
2060
2060
_ dest: inout _ContiguousArrayBuffer < Element > ,
2061
2061
_ headCount: Int , // Count of initial source elements to copy/move
0 commit comments