Skip to content

Commit 48bfec4

Browse files
committed
Foundation overlay: Remove deprecated @NoEscape attribute
1 parent 72397de commit 48bfec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SDK/Foundation/Boxing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ internal protocol _MutableBoxing : ReferenceConvertible {
5353

5454
extension _MutableBoxing {
5555
@inline(__always)
56-
mutating func _applyMutation<ReturnType>(_ whatToDo : @noescape(ReferenceType) -> ReturnType) -> ReturnType {
56+
mutating func _applyMutation<ReturnType>(_ whatToDo : (ReferenceType) -> ReturnType) -> ReturnType {
5757
// Only create a new box if we are not uniquely referenced
5858
if !isKnownUniquelyReferenced(&_handle) {
5959
let ref = _handle._pointer

0 commit comments

Comments
 (0)