Skip to content

Commit 19975bc

Browse files
committed
Remove extraneous unsafe from the concurrency library
(cherry picked from commit 1c9875e)
1 parent 2bc7b57 commit 19975bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Task.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ extension Task where Failure == Never {
261261
@available(SwiftStdlib 5.1, *)
262262
extension Task: Hashable {
263263
public func hash(into hasher: inout Hasher) {
264-
unsafe UnsafeRawPointer(Builtin.bridgeToRawPointer(_task)).hash(into: &hasher)
264+
UnsafeRawPointer(Builtin.bridgeToRawPointer(_task)).hash(into: &hasher)
265265
}
266266
}
267267

0 commit comments

Comments
 (0)