Skip to content

Commit cbcc377

Browse files
authored
Merge pull request swiftlang#30453 from gribozavr/simplify-append
2 parents 5e63905 + b2164f2 commit cbcc377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/AST/GenericSignatureBuilder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1653,12 +1653,12 @@ std::string GenericSignatureBuilder::PotentialArchetype::getDebugName() const {
16531653
if (proto) {
16541654
result.push_back('[');
16551655
result.push_back('.');
1656-
result.append(proto->getName().str().begin(), proto->getName().str().end());
1656+
result.append(proto->getName().str());
16571657
result.push_back(']');
16581658
}
16591659

16601660
result.push_back('.');
1661-
result.append(getNestedName().str().begin(), getNestedName().str().end());
1661+
result.append(getNestedName().str());
16621662

16631663
return result.str().str();
16641664
}

0 commit comments

Comments
 (0)