Skip to content

Conversation

itingliu
Copy link
Contributor

Move the closure argument in replace and replacing to the end of the argument list for trailing closure syntax. Add a test for replacing within a range.

Move the closure argument in `replace` and `replacing`
to the end of the argument list for trailing closure
syntax. Add a test for replacing within a range.
@itingliu
Copy link
Contributor Author

@swift-ci please test

Copy link
Member

@milseman milseman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@itingliu
Copy link
Contributor Author

@swift-ci please test

@itingliu itingliu merged commit b24d3ea into swiftlang:main Apr 21, 2022
@itingliu itingliu deleted the replacing-trailing-closure branch April 21, 2022 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants