Skip to content

Commit 1c9875e

Browse files
committed
Remove extraneous unsafe from the concurrency library
1 parent b7d41a5 commit 1c9875e

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)