[noescape by default] drop @noescape from stdlib

This commit is contained in:
Michael Ilseman
2016-08-04 16:09:01 -07:00
parent 9e9a1b96c9
commit b7c9eddd11
46 changed files with 168 additions and 168 deletions

View File

@@ -744,7 +744,7 @@ public struct URL : ReferenceConvertible, Equatable {
/// File system representation is a null-terminated C string with canonical UTF-8 encoding.
/// - note: The pointer is not valid outside the context of the block.
@available(OSX 10.9, iOS 7.0, *)
public func withUnsafeFileSystemRepresentation<ResultType>(_ block: @noescape (UnsafePointer<Int8>?) throws -> ResultType) rethrows -> ResultType {
public func withUnsafeFileSystemRepresentation<ResultType>(_ block: (UnsafePointer<Int8>?) throws -> ResultType) rethrows -> ResultType {
return try block(_url.fileSystemRepresentation)
}