Skip to content

Commit 4197128

Browse files
committed
Fix variable name
1 parent 83d9b68 commit 4197128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/TaskSleepDuration.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ extension Task where Success == Never, Failure == Never {
136136
///
137137
@available(SwiftStdlib 5.7, *)
138138
public static func sleep<C: Clock>(
139-
until deadine: C.Instant,
139+
until deadline: C.Instant,
140140
tolerance: C.Instant.Duration? = nil,
141141
clock: C
142142
) async throws {
143-
try await clock.sleep(until: deadine, tolerance: tolerance)
143+
try await clock.sleep(until: deadline, tolerance: tolerance)
144144
}
145145
}

0 commit comments

Comments
 (0)