Skip to content

Commit cf73629

Browse files
authored
Merge pull request #69531 from oyepriyansh/fix-typos
fixed some typos
2 parents 4115bd6 + dd11cc5 commit cf73629

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/ClangImporter/SwiftDeclSynthesizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ ConstructorDecl *SwiftDeclSynthesizer::createValueConstructor(
647647
return constructor;
648648
}
649649

650-
// MARK: Struct RawValue intializers
650+
// MARK: Struct RawValue initializers
651651

652652
/// Synthesizer callback for a raw value bridging constructor body.
653653
static std::pair<BraceStmt *, bool>

stdlib/toolchain/Compatibility56/include/Concurrency/Task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ class AsyncTask : public Job {
570570
/// \c Executing, then \c waitingTask has been added to the
571571
/// wait queue and will be scheduled when the future completes. Otherwise,
572572
/// the future has completed and can be queried.
573-
/// The waiting task's async context will be intialized with the parameters if
573+
/// The waiting task's async context will be initialized with the parameters if
574574
/// the current's task state is executing.
575575
__attribute__((visibility("hidden")))
576576
FutureFragment::Status waitFuture(AsyncTask *waitingTask,

test/SILGen/delayed_functions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// WHOLEMOD-LABEL: sil hidden [ossa] @$s17delayed_functions3fooSiyF : $@convention(thin) () -> Int
1111
func foo() -> Int { 5 }
1212

13-
// Cannot delay property intializers that contain user code.
13+
// Cannot delay property initializers that contain user code.
1414
struct R {
1515
// variable initialization expression of R.i
1616
// SINGLE-LABEL: sil hidden [transparent] [ossa] @$s17delayed_functions1RV1iSivpfi : $@convention(thin) () -> Int

0 commit comments

Comments
 (0)