File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ extension Syntax {
53
53
public struct UnknownSyntax : SyntaxProtocol {
54
54
public let _syntaxNode : Syntax
55
55
56
- /// Convert the given `Syntax` node to a `UnknownSyntax` if possible. Return
56
+ /// Convert the given `Syntax` node to an `UnknownSyntax` if possible. Return
57
57
/// `nil` if the conversion is not possible.
58
58
public init ? ( _ syntax: Syntax ) {
59
59
guard syntax. raw. kind == . unknown else { return nil }
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ open class SyntaxRewriter {
47
47
return Syntax ( token)
48
48
}
49
49
50
- /// Visit a `UnknownSyntax`.
50
+ /// Visit an `UnknownSyntax`.
51
51
/// - Parameter node: the node that is being visited
52
52
/// - Returns: the rewritten node
53
53
open func visit( _ node: UnknownSyntax ) -> Syntax {
You can’t perform that action at this time.
0 commit comments