@@ -701,7 +701,7 @@ fileprivate extension SyntaxText {
701701 /// - Returns: The position at the end of the walk.
702702 func forEachEndOfLine(
703703 position: AbsolutePosition ,
704- body: ( AbsolutePosition ) -> ( )
704+ body: ( AbsolutePosition ) -> Void
705705 ) -> AbsolutePosition {
706706 guard let startPtr = buffer. baseAddress else {
707707 return position
@@ -745,7 +745,7 @@ fileprivate extension RawTriviaPiece {
745745 /// - Returns: The position at the end of the walk.
746746 func forEachEndOfLine(
747747 position: AbsolutePosition ,
748- body: ( AbsolutePosition ) -> ( )
748+ body: ( AbsolutePosition ) -> Void
749749 ) -> AbsolutePosition {
750750 var position = position
751751 switch self {
@@ -788,7 +788,7 @@ fileprivate extension RawTriviaPieceBuffer {
788788 /// - Returns: The position at the end of the walk.
789789 func forEachEndOfLine(
790790 position: AbsolutePosition ,
791- body: ( AbsolutePosition ) -> ( )
791+ body: ( AbsolutePosition ) -> Void
792792 ) -> AbsolutePosition {
793793 var position = position
794794 for piece in self {
@@ -810,8 +810,8 @@ fileprivate extension RawSyntax {
810810 /// - Returns: The position at the end of the walk.
811811 func forEachEndOfLine(
812812 position: AbsolutePosition ,
813- body: ( AbsolutePosition ) -> ( ) ,
814- handleSourceLocationDirective: ( _ position: AbsolutePosition , _ rawSyntax: RawSyntax ) -> ( )
813+ body: ( AbsolutePosition ) -> Void ,
814+ handleSourceLocationDirective: ( _ position: AbsolutePosition , _ rawSyntax: RawSyntax ) -> Void
815815 ) -> AbsolutePosition {
816816 var position = position
817817 switch self . rawData. payload {
0 commit comments