Skip to content

Commit 13a6e7a

Browse files
authored
NFC: fix typo in a comment in SyntaxText.swift (#1153)
`this may mutates the string` -> `this may mutate the string`
1 parent a664165 commit 13a6e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftSyntax/SyntaxText.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ extension String {
208208
}
209209

210210
/// Runs `body` with a `SyntaxText` that refers the contiguous memory of this
211-
/// string. Like `String.withUTF8(_:)`, this may mutates the string if this
211+
/// string. Like `String.withUTF8(_:)`, this may mutate the string if this
212212
/// string was not contiguous.
213213
@_spi(RawSyntax)
214214
public mutating func withSyntaxText<R>(

0 commit comments

Comments
 (0)