Skip to content

Commit 165a029

Browse files
[gardening] Fix a vs. an issues
1 parent 1110189 commit 165a029

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/swift/AST/DeclContext.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,13 @@ class alignas(1 << DeclContextAlignInBits) DeclContext {
285285

286286
/// Gets the type being declared by this context.
287287
///
288-
/// - Generic types return an bound generic type using archetypes.
288+
/// - Generic types return a bound generic type using archetypes.
289289
/// - Non-type contexts return a null type.
290290
Type getDeclaredTypeInContext() const;
291291

292292
/// Gets the type being declared by this context.
293293
///
294-
/// - Generic types return an bound generic type using interface types.
294+
/// - Generic types return a bound generic type using interface types.
295295
/// - Non-type contexts return a null type.
296296
Type getDeclaredInterfaceType() const;
297297

include/swift/AST/GenericEnvironment.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class GenericEnvironment final {
5959
/// Map an interface type to a contextual type.
6060
Type mapTypeIntoContext(ModuleDecl *M, Type type) const;
6161

62-
/// Map an generic parameter type to a contextual type.
62+
/// Map a generic parameter type to a contextual type.
6363
Type mapTypeIntoContext(GenericTypeParamType *type) const;
6464

6565
/// Derive a contextual type substitution map from a substitution array.

0 commit comments

Comments
 (0)