We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3824528 + f4f9089 commit aedd3f2Copy full SHA for aedd3f2
include/swift/AST/Decl.h
@@ -3486,7 +3486,7 @@ class StructDecl final : public NominalTypeDecl {
3486
SourceLoc StructLoc;
3487
3488
// We import C++ class templates as generic structs. Then when in Swift code
3489
- // we want to substitude generic parameters with actual arguments, we
+ // we want to substitute generic parameters with actual arguments, we
3490
// convert the arguments to C++ equivalents and ask Clang to instantiate the
3491
// C++ template. Then we import the C++ class template instantiation
3492
// as a non-generic structs with a name prefixed with `__CxxTemplateInst`.
0 commit comments