Skip to content

Commit

Permalink
use default branches for unknown symbol kinds (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus authored Apr 12, 2022
1 parent 90588d4 commit aff33ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This source file is part of the Swift.org open source project
Copyright (c) 2021 Apple Inc. and the Swift project authors
Copyright (c) 2021-2022 Apple Inc. and the Swift project authors
Licensed under Apache License v2.0 with Runtime Library Exception
See https://swift.org/LICENSE.txt for license information
Expand Down Expand Up @@ -203,7 +203,7 @@ extension AutomaticCuration {
case .`typealias`: return "Type Aliases"
case .`var`: return "Variables"
case .module: return "Modules"
case .unknown: return "Symbols"
default: return "Symbols"
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftDocC/Model/DocumentationNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public struct DocumentationNode {
case .`var`: return .globalVariable

case .module: return .module
case .unknown: return .unknown
default: return .unknown
}
}

Expand Down

0 comments on commit aff33ed

Please sign in to comment.