Skip to content

Commit 498c4a5

Browse files
authored
Replace unevaluated gyb values in documentation comments (swiftlang#244)
1 parent f957158 commit 498c4a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftSyntax/Syntax.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -332,17 +332,17 @@ public extension SyntaxProtocol {
332332
return Self(Syntax(data.withTrailingTrivia(trailingTrivia)))!
333333
}
334334

335-
/// Returns a new `${node.name}` with its leading trivia removed.
335+
/// Returns a new syntax node with its leading trivia removed.
336336
func withoutLeadingTrivia() -> Self {
337337
return withLeadingTrivia([])
338338
}
339339

340-
/// Returns a new `${node.name}` with its trailing trivia removed.
340+
/// Returns a new syntax node with its trailing trivia removed.
341341
func withoutTrailingTrivia() -> Self {
342342
return withTrailingTrivia([])
343343
}
344344

345-
/// Returns a new `${node.name}` with all trivia removed.
345+
/// Returns a new syntax node with all trivia removed.
346346
func withoutTrivia() -> Self {
347347
return withoutLeadingTrivia().withoutTrailingTrivia()
348348
}

0 commit comments

Comments
 (0)