Skip to content

Commit

Permalink
Merge pull request #8 from dmcgloin/main
Browse files Browse the repository at this point in the history
Fixed typo in sample code of readme
  • Loading branch information
groue authored Dec 31, 2022
2 parents 384b5fd + d0109bc commit f5d49bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Downloader {

func download(...) async throws -> Data {
try await semaphore.waitUnlessCancelled()
defer { semaphore.signal }
defer { semaphore.signal() }
return try await ...
}
}
Expand Down

0 comments on commit f5d49bf

Please sign in to comment.