@@ -701,7 +701,7 @@ fileprivate extension SyntaxText {
701
701
/// - Returns: The position at the end of the walk.
702
702
func forEachEndOfLine(
703
703
position: AbsolutePosition ,
704
- body: ( AbsolutePosition ) -> ( )
704
+ body: ( AbsolutePosition ) -> Void
705
705
) -> AbsolutePosition {
706
706
guard let startPtr = buffer. baseAddress else {
707
707
return position
@@ -745,7 +745,7 @@ fileprivate extension RawTriviaPiece {
745
745
/// - Returns: The position at the end of the walk.
746
746
func forEachEndOfLine(
747
747
position: AbsolutePosition ,
748
- body: ( AbsolutePosition ) -> ( )
748
+ body: ( AbsolutePosition ) -> Void
749
749
) -> AbsolutePosition {
750
750
var position = position
751
751
switch self {
@@ -788,7 +788,7 @@ fileprivate extension RawTriviaPieceBuffer {
788
788
/// - Returns: The position at the end of the walk.
789
789
func forEachEndOfLine(
790
790
position: AbsolutePosition ,
791
- body: ( AbsolutePosition ) -> ( )
791
+ body: ( AbsolutePosition ) -> Void
792
792
) -> AbsolutePosition {
793
793
var position = position
794
794
for piece in self {
@@ -810,8 +810,8 @@ fileprivate extension RawSyntax {
810
810
/// - Returns: The position at the end of the walk.
811
811
func forEachEndOfLine(
812
812
position: AbsolutePosition ,
813
- body: ( AbsolutePosition ) -> ( ) ,
814
- handleSourceLocationDirective: ( _ position: AbsolutePosition , _ rawSyntax: RawSyntax ) -> ( )
813
+ body: ( AbsolutePosition ) -> Void ,
814
+ handleSourceLocationDirective: ( _ position: AbsolutePosition , _ rawSyntax: RawSyntax ) -> Void
815
815
) -> AbsolutePosition {
816
816
var position = position
817
817
switch self . rawData. payload {
0 commit comments