Skip to content

Commit

Permalink
Fix typo, remove trailing newline from examples (#63)
Browse files Browse the repository at this point in the history
- Fixed a typo in Comparable godoc
- Removed trailing empty new line (\n\n) from example
  code snippets.

Signed-off-by: Ahmet Alp Balkan <[email protected]>
  • Loading branch information
ahmetb authored Jan 13, 2017
1 parent 5d02449 commit de74c3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 76 deletions.
2 changes: 1 addition & 1 deletion compare.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package linq
type comparer func(interface{}, interface{}) int

// Comparable is an interface that has to be implemented by a custom collection
// elememts in order to work with linq.
// elements in order to work with linq.
//
// Example:
// func (f foo) CompareTo(c Comparable) int {
Expand Down
Loading

0 comments on commit de74c3c

Please sign in to comment.