-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Docs] Fix typo in GenericsManifesto.md. #17453
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
Conversation
Minor clarification to "opening existentials" example.
@swift-ci Please smoke test |
docs/GenericsManifesto.md
Outdated
if let storedInE1 = e1 openas T { // T is a the type of storedInE1, a copy of the value stored in e1 | ||
if let storedInE2 = e2 as? T { // is e2 also a T? | ||
if let storedInE1 = e1 openas T { // T is the type of storedInE1, a copy of the value stored in e1 | ||
if let storedInE2 = e2 as? T { // does e2 have type T? if so, copy its value to storedInE2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: capitalization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added capitalization in 2dc279f, is this what you had in mind?
I originally didn't capitalize comments for consistency with the rest of the doc.
Address comments by @CodaFi regarding capitalization.
@swift-ci please smoke test and merge |
@swift-ci Please smoke test |
1 similar comment
@swift-ci Please smoke test |
@CodaFi This PR is ready to be merged. |
⛵️ |
Minor clarification to "opening existentials" example.