Skip to content

Commit dc193d2

Browse files
authored
Merge pull request #5009 from practicalswift/gardening-20160925
2 parents 5e029eb + 165a029 commit dc193d2

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
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.

include/swift/AST/KnownStdlibTypes.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- KnownStdlibTypes.cpp - Common standard library types -------------===//
1+
//===--- KnownStdlibTypes.def - Common standard library types ---*- C++ -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

stdlib/public/SDK/Foundation/NSValue.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- NSValue.swift - Bridging things in NSValue -----------------------===//
1+
//===--- NSValue.swift - Bridging things in NSValue -----------*- swift -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

stdlib/public/SDK/QuartzCore/NSValue.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- NSValue.swift - Bridging things in NSValue -----------------------===//
1+
//===--- NSValue.swift - Bridging things in NSValue -----------*- swift -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//

stdlib/public/core/UnsafeRawBufferPointer.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- UnsafeRawBufferPointer.swift.gyb --------------------*- swift -*-===//
1+
//===--- UnsafeRawBufferPointer.swift.gyb ---------------------*- swift -*-===//
22
//
33
// This source file is part of the Swift.org open source project
44
//
@@ -65,7 +65,7 @@
6565
///
6666
/// Example (continued):
6767
/// ```swift
68-
/// // Copy a another slice of memory back into the original slice.
68+
/// // Copy another slice of memory back into the original slice.
6969
/// destBytes[0..<n] = someBytes[m..<(m+n)]
7070
/// ```
7171
///

test/stdlib/UnsafeRawBufferPointer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ UnsafeRawBufferPointerTestSuite.test("empty") {
100100
}
101101

102102
// Store a sequence of integers to raw memory, and reload them as structs.
103-
// Strore structs to raw memory, and reload them as integers.
103+
// Store structs to raw memory, and reload them as integers.
104104
UnsafeRawBufferPointerTestSuite.test("reinterpret") {
105105
struct Pair {
106106
var x: Int32

0 commit comments

Comments
 (0)