File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -285,13 +285,13 @@ class alignas(1 << DeclContextAlignInBits) DeclContext {
285
285
286
286
// / Gets the type being declared by this context.
287
287
// /
288
- // / - Generic types return an bound generic type using archetypes.
288
+ // / - Generic types return a bound generic type using archetypes.
289
289
// / - Non-type contexts return a null type.
290
290
Type getDeclaredTypeInContext () const ;
291
291
292
292
// / Gets the type being declared by this context.
293
293
// /
294
- // / - Generic types return an bound generic type using interface types.
294
+ // / - Generic types return a bound generic type using interface types.
295
295
// / - Non-type contexts return a null type.
296
296
Type getDeclaredInterfaceType () const ;
297
297
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class GenericEnvironment final {
59
59
// / Map an interface type to a contextual type.
60
60
Type mapTypeIntoContext (ModuleDecl *M, Type type) const ;
61
61
62
- // / Map an generic parameter type to a contextual type.
62
+ // / Map a generic parameter type to a contextual type.
63
63
Type mapTypeIntoContext (GenericTypeParamType *type) const ;
64
64
65
65
// / Derive a contextual type substitution map from a substitution array.
Original file line number Diff line number Diff line change 1
- //===--- KnownStdlibTypes.cpp - Common standard library types ------------ -===//
1
+ // ===--- KnownStdlibTypes.def - Common standard library types ---*- C++ -* -===//
2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
Original file line number Diff line number Diff line change 1
- //===--- NSValue.swift - Bridging things in NSValue ---------------------- -===//
1
+ //===--- NSValue.swift - Bridging things in NSValue -----------*- swift -* -===//
2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
Original file line number Diff line number Diff line change 1
- //===--- NSValue.swift - Bridging things in NSValue ---------------------- -===//
1
+ //===--- NSValue.swift - Bridging things in NSValue -----------*- swift -* -===//
2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
Original file line number Diff line number Diff line change 1
- //===--- UnsafeRawBufferPointer.swift.gyb --------------------*- swift -*-===//
1
+ //===--- UnsafeRawBufferPointer.swift.gyb --------------------- *- swift -*-===//
2
2
//
3
3
// This source file is part of the Swift.org open source project
4
4
//
65
65
///
66
66
/// Example (continued):
67
67
/// ```swift
68
- /// // Copy a another slice of memory back into the original slice.
68
+ /// // Copy another slice of memory back into the original slice.
69
69
/// destBytes[0..<n] = someBytes[m..<(m+n)]
70
70
/// ```
71
71
///
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ UnsafeRawBufferPointerTestSuite.test("empty") {
100
100
}
101
101
102
102
// 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.
104
104
UnsafeRawBufferPointerTestSuite . test ( " reinterpret " ) {
105
105
struct Pair {
106
106
var x : Int32
You can’t perform that action at this time.
0 commit comments