We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 006d266 commit 473a6a8Copy full SHA for 473a6a8
Sources/SwiftDiagnostics/DiagnosticsFormatter.swift
@@ -367,7 +367,7 @@ public struct DiagnosticsFormatter {
367
/// - leadingText: text that is prefixed to the list of categories when
368
/// there is at least one category to print.
369
public func categoryFootnotes(
370
- _ categories: [DiagnosticCategory],
+ _ categories: some Sequence<DiagnosticCategory>,
371
leadingText: String = "\n"
372
) -> String {
373
let categoriesInOrder = categories.compactMap { category in
0 commit comments