File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public func documentationCommentText(extractedFrom trivia: Trivia)
43
43
// Look backwards from the end of the trivia collection to find the logical start of the comment.
44
44
// We have to copy it into an array since `Trivia` doesn't support bidirectional indexing.
45
45
let triviaArray = Array ( trivia)
46
- let commentStartIndex : [ TriviaPiece ] . Index
46
+ let commentStartIndex : Array < TriviaPiece > . Index
47
47
if
48
48
let lastNonDocCommentIndex = triviaArray. lastIndex ( where: {
49
49
switch $0 {
@@ -140,7 +140,7 @@ private func indentationDistance(of text: Substring) -> Int {
140
140
/// given trivia piece.
141
141
private func contiguousWhitespace(
142
142
in trivia: [ TriviaPiece ] ,
143
- before index: [ TriviaPiece ] . Index
143
+ before index: Array < TriviaPiece > . Index
144
144
) -> Int {
145
145
var index = index
146
146
var whitespace = 0
You can’t perform that action at this time.
0 commit comments