Skip to content
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

Capitalize Swift in FoundationShims.h #146

Closed
wants to merge 1 commit into from
Closed

Capitalize Swift in FoundationShims.h #146

wants to merge 1 commit into from

Conversation

sanjeetsuhag
Copy link

No description provided.

// coming in from two different Clang modules
// (rdar://problem/16294674). Instead, we copy the definitions here
// (rdar://problem/16294674). Instead, we copy the definitions here
Copy link
Contributor

Choose a reason for hiding this comment

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

It is customary to use two spaces to separate sentences.

Choose a reason for hiding this comment

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

Where?

Copy link
Contributor

Choose a reason for hiding this comment

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

There are multiple opinions on this subject, but one convention is to insert two spaces after a full stop. Wikipedia summarizes viewpoints nicely: https://en.wikipedia.org/wiki/Sentence_spacing

Choose a reason for hiding this comment

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

I see, but I don't think comments are best place for this convention, for me it doesn't feel right to see two sentences in one line, separated by too much space. Thanks for reply!

@gribozavr
Copy link
Contributor

Please also use a more descriptive commit message.

@gribozavr gribozavr changed the title Update FoundationShims.h Capitalize Swift in FoundationShims.h Dec 4, 2015
@gribozavr
Copy link
Contributor

Applied the capitalization in 3fb3853

@gribozavr gribozavr closed this Dec 6, 2015
dabelknap added a commit to dabelknap/swift that referenced this pull request Nov 21, 2018
…ent-sigil

Make CommentWhitespace a lint-only rule.
maldahleh pushed a commit to maldahleh/swift that referenced this pull request Oct 26, 2020
Ignore any files Xcode generates when the package is opened directly
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
Adding 4.0 compatibility to AsyncNinja
DougGregor pushed a commit to DougGregor/swift that referenced this pull request Apr 28, 2024
Revert "Update Installer Scripts for sourcekit-lsp to Include SwiftSyntax"
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