Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add note to self.
  • Loading branch information
mportiz08 committed Oct 4, 2024
commit ddf6dcf3924a932c6eba49feb72e3b7e37e43238
2 changes: 2 additions & 0 deletions Sources/SwiftDocC/Utility/Formatting/FragmentBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ final class FragmentBuilder: SyntaxVisitor {
}

private func emit(fragment: Fragment) {
// TODO: consider joining multiple fragments of the same kind as an
// optimization to reduce the number of array items in the JSON output
fragments.append(fragment)
}

Expand Down