Skip to content

Commit a7fc7c5

Browse files
authored
add missing trailing parentheses in code snippet
1 parent b92ec84 commit a7fc7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Semaphore/Documentation.docc/Documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Downloader {
5757

5858
func download(...) async throws -> Data {
5959
try await semaphore.waitUnlessCancelled()
60-
defer { semaphore.signal }
60+
defer { semaphore.signal() }
6161
return try await ...
6262
}
6363
}

0 commit comments

Comments
 (0)