Files
swift-mirror/test/NameLookup/Inputs/NIOFoundationCompat.swift
Kavon Farvardin da53b24d76 test: @_inlineable -> @inlinable
The Swift 4 spelling only should remain in specific tests that ensure it's still accepted in that mode.
2025-08-12 14:32:24 -07:00

10 lines
184 B
Swift

import Foundation
extension Data {
@inlinable
public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R {
let r: R? = nil
return r!
}
}