File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -332,17 +332,17 @@ public extension SyntaxProtocol {
332
332
return Self ( Syntax ( data. withTrailingTrivia ( trailingTrivia) ) ) !
333
333
}
334
334
335
- /// Returns a new `${ node.name}` with its leading trivia removed.
335
+ /// Returns a new syntax node with its leading trivia removed.
336
336
func withoutLeadingTrivia( ) -> Self {
337
337
return withLeadingTrivia ( [ ] )
338
338
}
339
339
340
- /// Returns a new `${ node.name}` with its trailing trivia removed.
340
+ /// Returns a new syntax node with its trailing trivia removed.
341
341
func withoutTrailingTrivia( ) -> Self {
342
342
return withTrailingTrivia ( [ ] )
343
343
}
344
344
345
- /// Returns a new `${ node.name}` with all trivia removed.
345
+ /// Returns a new syntax node with all trivia removed.
346
346
func withoutTrivia( ) -> Self {
347
347
return withoutLeadingTrivia ( ) . withoutTrailingTrivia ( )
348
348
}
You can’t perform that action at this time.
0 commit comments