Skip to content

Commit 71de3c9

Browse files
authored
Merge pull request #3874 from milseman/noescape_by_default
[noescape by default] Add explicit @escaping as needed
2 parents 72eb054 + 04ad9fe commit 71de3c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SDK/CryptoTokenKit/CryptoTokenKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extension TKSmartCard {
3434
}
3535

3636
@available(OSX 10.12, *)
37-
public func withSession<T>(_ body: () throws -> T) throws -> T {
37+
public func withSession<T>(_ body: @escaping () throws -> T) throws -> T {
3838
var result: T? = nil
3939
try self.__inSession(executeBlock: {
4040
(errorPointer: NSErrorPointer) -> Bool in

0 commit comments

Comments
 (0)