Skip to content

Commit cf0b2bd

Browse files
committed
[Gardening] Attach Docs to the Right Decl
1 parent 8e8a56d commit cf0b2bd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Sources/SwiftDriver/IncrementalCompilation/ModuleDependencyGraphParts/InputDependencySourceMap.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ import Foundation
1212
import TSCBasic
1313

1414
@_spi(Testing) public struct InputDependencySourceMap: Equatable {
15+
public typealias BiMap = BidirectionalMap<TypedVirtualPath, DependencySource>
1516

1617
/// Maps input files (e.g. .swift) to and from the DependencySource object.
1718
///
18-
// This map caches the same information as in the `OutputFileMap`, but it
19-
// optimizes the reverse lookup, and includes path interning via `DependencySource`.
20-
// Once created, it does not change.
21-
22-
public typealias BiMap = BidirectionalMap<TypedVirtualPath, DependencySource>
19+
/// This map caches the same information as in the `OutputFileMap`, but it
20+
/// optimizes the reverse lookup, and includes path interning via `DependencySource`.
21+
/// Once created, it does not change.
2322
@_spi(Testing) public let biMap: BiMap
2423

2524
/// Based on entries in the `OutputFileMap`, create the bidirectional map to map each source file

0 commit comments

Comments
 (0)