We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52b2871 + 0b5233f commit f1b6de0Copy full SHA for f1b6de0
stdlib/public/core/UnsafeRawBufferPointer.swift.gyb
@@ -1163,6 +1163,7 @@ extension Unsafe${Mutable}RawBufferPointer {
1163
1164
% if Mutable:
1165
@_alwaysEmitIntoClient
1166
+ @inline(__always)
1167
public func withContiguousMutableStorageIfAvailable<R>(
1168
_ body: (inout UnsafeMutableBufferPointer<Element>) throws -> R
1169
) rethrows -> R? {
@@ -1180,6 +1181,7 @@ extension Unsafe${Mutable}RawBufferPointer {
1180
1181
1182
% end
1183
1184
1185
public func withContiguousStorageIfAvailable<R>(
1186
_ body: (UnsafeBufferPointer<Element>) throws -> R
1187
0 commit comments