Skip to content

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