mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix some typos in the codebase
This commit is contained in:
@@ -1403,7 +1403,7 @@ bool RefactoringActionExtractFunction::performChange() {
|
||||
// Correct the given name if collision happens.
|
||||
PreferredName = correctNewDeclName(InsertToDC, PreferredName);
|
||||
|
||||
// Collect the paramters to pass down to the new function.
|
||||
// Collect the parameters to pass down to the new function.
|
||||
std::vector<ReferencedDecl> Parameters;
|
||||
for (auto &RD: RangeInfo.ReferencedDecls) {
|
||||
// If the referenced decl is declared elsewhere, no need to pass as parameter
|
||||
|
||||
Reference in New Issue
Block a user