Skip to content

Commit

Permalink
fix to follow issue realm#60 rule
Browse files Browse the repository at this point in the history
  • Loading branch information
akirahrkw committed Jun 16, 2015
1 parent 56e2ffb commit 32edb24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/SwiftLintFramework/Location.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
return lhs.file == rhs.file &&
lhs.line == rhs.line &&
lhs.character == rhs.character
Expand Down
2 changes: 1 addition & 1 deletion Source/SwiftLintFramework/StyleViolation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Returns true if `lhs` StyleViolation is equal to `rhs` StyleViolation.
:returns: True if `lhs` StyleViolation is equal to `rhs` StyleViolation.
*/
public func ==(lhs: StyleViolation, rhs: StyleViolation) -> Bool {
public func == (lhs: StyleViolation, rhs: StyleViolation) -> Bool {
return lhs.type == rhs.type &&
lhs.location == rhs.location &&
lhs.severity == rhs.severity &&
Expand Down

0 comments on commit 32edb24

Please sign in to comment.