Skip to content

Commit e17794a

Browse files
authored
Apply @sendable annotation to address the compiler warning (#7993)
1 parent 06f8984 commit e17794a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackageRegistry/RegistryDownloadsManager.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public class RegistryDownloadsManager: Cancellable {
248248

249249
// utility to update progress
250250

251-
func updateDownloadProgress(downloaded: Int64, total: Int64?) {
251+
@Sendable func updateDownloadProgress(downloaded: Int64, total: Int64?) {
252252
delegateQueue.async {
253253
self.delegate?.fetching(
254254
package: package,

0 commit comments

Comments
 (0)