Skip to content

Commit 4458b4d

Browse files
author
Ikko Ashimine
committed
[SourceKit] Fix typo in SwiftSourceDocInfo.cpp
1 parent 08b6802 commit 4458b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/SourceKit/lib/SwiftLang/SwiftSourceDocInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ static bool passNameInfoForDecl(ResolvedCursorInfo CursorInfo,
12861286
auto *VD = CursorInfo.ValueD;
12871287

12881288
// If the given name is not a function name, and the cursor points to
1289-
// a contructor call, we use the type declaration instead of the init
1289+
// a constructor call, we use the type declaration instead of the init
12901290
// declaration to translate the name.
12911291
if (Info.ArgNames.empty() && !Info.IsZeroArgSelector) {
12921292
if (auto *TD = CursorInfo.CtorTyRef) {

0 commit comments

Comments
 (0)