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

Use whitespace around operator definitions. #82

Closed
wants to merge 9 commits into from

Conversation

akirahrkw
Copy link
Contributor

this PR is about "Use whitespace around operator definitions."
#60

thanks:)

@@ -48,7 +48,7 @@ Returns true if `lhs` Location is equal to `rhs` Location.

:returns: True if `lhs` Location is equal to `rhs` Location.
*/
public func ==(lhs: Location, rhs: Location) -> Bool {
public func == (lhs: Location, rhs: Location) -> Bool {
Copy link
Collaborator

Choose a reason for hiding this comment

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

😄

@jpsim
Copy link
Collaborator

jpsim commented Jun 16, 2015

This is really nice work, @akirahrkw! I just had a few minor comments, let me know what you think, then we'll merge this in.

remove <String.Index> because Range infers
use trailing closure syntax
@akirahrkw
Copy link
Contributor Author

thanks for your feedback. I just pushed the change:)

@jpsim
Copy link
Collaborator

jpsim commented Jun 17, 2015

I made a few changes to your work in #83 to support multibyte characters & specify only a single space on each side of the operator. So I'm closing this in favor of #83. Very nice work on this, @akirahrkw!

@jpsim jpsim closed this Jun 17, 2015
@akirahrkw
Copy link
Contributor Author

got it and thank you:)

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