Skip to content

Commit a12df2b

Browse files
authored
Merge pull request #1078 from bnbarham/small-cleanups
Remove superfluous `RawSyntaxLayoutView.numberOfChildern`
2 parents b3baf6f + 055098d commit a12df2b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Sources/SwiftSyntax/Raw/RawSyntaxLayoutView.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,5 @@ public struct RawSyntaxLayoutView {
166166
public var children: RawSyntaxBuffer {
167167
layoutData.layout
168168
}
169-
170-
/// The number of children, `present` or `missing`, in this node.
171-
@_spi(RawSyntax)
172-
public var numberOfChildren: Int {
173-
return children.count
174-
}
175169
}
176170

0 commit comments

Comments
 (0)