diff --git a/stdlib/public/core/ArrayBufferProtocol.swift b/stdlib/public/core/ArrayBufferProtocol.swift index 63f155905a919..ecebbc8e32603 100644 --- a/stdlib/public/core/ArrayBufferProtocol.swift +++ b/stdlib/public/core/ArrayBufferProtocol.swift @@ -128,7 +128,8 @@ extension _ArrayBufferProtocol where Indices == Range{ // Make sure the compiler does not inline _copyBuffer to reduce code size. @inline(never) - @usableFromInline + @inlinable // This code should be specializable such that copying an array is + // fast and does not end up in an unspecialized entry point. internal init(copying buffer: Self) { let newBuffer = _ContiguousArrayBuffer( _uninitializedCount: buffer.count, minimumCapacity: buffer.count)