Skip to content

Commit 3fac2ad

Browse files
authored
Update swift-docc-plugin to fix a non-sendable warning (#12)
This PR resolves warnings: ``` …/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:106:17: warning: capture of non-sendable type 'Target.Type' in an isolated closure 104 | // Copy the closure and the target into a block operation object 105 | let new = BlockOperation { [work, task] in 106 | work(task) | `- warning: capture of non-sendable type 'Target.Type' in an isolated closure 107 | } 108 | operationsByID[task.id] = new …/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:105:41: warning: capture of non-sendable type 'Target.Type' in an isolated closure 103 | } 104 | // Copy the closure and the target into a block operation object 105 | let new = BlockOperation { [work, task] in | `- warning: capture of non-sendable type 'Target.Type' in an isolated closure 106 | work(task) 107 | } ```
1 parent 33ea9d9 commit 3fac2ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)