Skip to content

Commit 764ce41

Browse files
[gardening] Fix a vs an typos.
1 parent f280b69 commit 764ce41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmark/utils/TestsUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct MyStruct : SomeProtocol {
6767
public func someProtocolFactory() -> SomeProtocol { return MyStruct() }
6868

6969
// Just consume the argument.
70-
// It's important that this function is in a another module than the tests
70+
// It's important that this function is in another module than the tests
7171
// which are using it.
7272
public func blackHole<T>(_ x: T) {
7373
}

include/swift/AST/SourceEntityWalker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class SourceEntityWalker {
126126

127127
/// This method is called for each external argument name in function-like
128128
/// declarations like constructor, function and subscript. The function is
129-
/// called only when a external argument label is specifically specified,
129+
/// called only when an external argument label is specifically specified,
130130
/// like func foo(External Internal: Int) {}.
131131
/// If it returns false, the remaining traversal is terminated and returns
132132
/// failure.

0 commit comments

Comments
 (0)