Skip to content

Commit b50bc1a

Browse files
committed
Remove redundant "bundle" parameter from AutomaticCuration.seeAlso
1 parent c4bdf0b commit b50bc1a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Sources/SwiftDocC/Infrastructure/Topic Graph/AutomaticCuration.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
This source file is part of the Swift.org open source project
33

4-
Copyright (c) 2021-2024 Apple Inc. and the Swift project authors
4+
Copyright (c) 2021-2025 Apple Inc. and the Swift project authors
55
Licensed under Apache License v2.0 with Runtime Library Exception
66

77
See https://swift.org/LICENSE.txt for license information
@@ -155,7 +155,6 @@ public struct AutomaticCuration {
155155
for node: DocumentationNode,
156156
withTraits variantsTraits: Set<DocumentationDataVariantsTrait>,
157157
context: DocumentationContext,
158-
bundle: DocumentationBundle,
159158
renderContext: RenderContext?,
160159
renderer: DocumentationContentRenderer
161160
) -> TaskGroup? {

Sources/SwiftDocC/Model/Rendering/RenderNodeTranslator.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,6 @@ public struct RenderNodeTranslator: SemanticVisitor {
806806
for: documentationNode,
807807
withTraits: allowedTraits,
808808
context: context,
809-
bundle: context.inputs,
810809
renderContext: renderContext,
811810
renderer: contentRenderer
812811
) {
@@ -1648,7 +1647,6 @@ public struct RenderNodeTranslator: SemanticVisitor {
16481647
for: documentationNode,
16491648
withTraits: allowedTraits,
16501649
context: context,
1651-
bundle: context.inputs,
16521650
renderContext: renderContext,
16531651
renderer: contentRenderer
16541652
), !seeAlso.references.isEmpty {

0 commit comments

Comments
 (0)