Skip to content

[stdlib] Correct actual print outputs in Concurrency files #62685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

Jager-yoo
Copy link
Contributor

Hi, I corrected the actual print(something, terminator: " ") outputs in Concurrency files, which I committed before in #58930.
These changes make it easier to see that print(something, terminator: " ") ends with a space.
Back-Deployed Concurrency files have already been corrected in #62504.
Please review! cc. @amartini51 👍🏻

Comment on lines +60 to +61
/// for await number in Counter(howHigh: 10) {
/// print(number, terminator: " ")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be consistent with BackDeployConcurrency, I renamed i to number here.

Comment on lines +30 to +31
/// for await number in Counter(howHigh: 10) {
/// print(number, terminator: " ")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

and here!

@amartini51
Copy link
Member

@swift-ci Please smoke test.

@Jager-yoo
Copy link
Contributor Author

@amartini51 Thank you again! Please merge when you get a chance.

@amartini51 amartini51 merged commit 45aea1e into swiftlang:main Dec 22, 2022
@Jager-yoo Jager-yoo deleted the fix-concurrency-doc branch December 22, 2022 17:29
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