Skip to content

Commit 3c0fcc9

Browse files
authored
Merge pull request apple#677 from tengyifei/patch-1
Fix apple#676, API docs have wrong signature for isEqualTo()
2 parents ecdbb8b + f39577a commit 3c0fcc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ want to override the default generated behavior for any reason:
153153
// so that you can easily override the implementation.
154154
// You may override this method, but you should never call it directly.
155155
// The default generated implementation compares every field for equality.
156-
public var isEqual(other: Example) -> Bool
156+
public func isEqualTo(message: Example) -> Bool
157157
```
158158

159159
## Enum API

0 commit comments

Comments
 (0)