Skip to content

[NFC] Fix typo and swap single quotes for some double quotes #40894

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 2 commits into from
Jan 18, 2022

Conversation

philipturner
Copy link
Contributor

See #40888. I accidentally deleted my patch-12 branch while messing around with some stuff, thus closing my pull request.

@CodaFi
Copy link
Contributor

CodaFi commented Jan 18, 2022

There's no preference for single or double quotes - the efficiency of either << operation is going to be a wash, especially when compared with the cost of flushing the ostream they're being dumped into.

In the interest of minimizing code churn, I would take the typo fix but I don't think it's worth it to go through and regrade all the usages of string/char literals in the printers.

@philipturner
Copy link
Contributor Author

I understand that enforcing a single/double quote policy everywhere is unmanageable. Could you still merge the quote changes along with the typo fix?

@CodaFi
Copy link
Contributor

CodaFi commented Jan 18, 2022

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 3df6b7c into swiftlang:main Jan 18, 2022
@xwu xwu changed the title Single quotes or double quotes? [NFC] Fix typo and swap single quotes for some double quotes Jan 20, 2022
@swift-ci
Copy link
Contributor

Pull request is not mergeable.

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.

3 participants