Skip to content

Commit

Permalink
Merge pull request #2 from krya-kryak/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
serejkus authored Nov 1, 2023
2 parents c3cefdf + d840c13 commit 7825400
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions point.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package hashring
import "github.com/gobwas/avl"

// point represents a point on the ring.
// To handle collisions properly it may change it's value to another one,
// increasing it's generation by one.
// To handle collisions properly it may change its value to another one,
// increasing its generation by one.
type point struct {
// bucket is a bucket where point belongs to.
bucket *bucket
Expand Down
2 changes: 1 addition & 1 deletion ring.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type Ring struct {
// minWeight holds minimum weight of item on the ring.
// It is protected by r.mu mutex.
minWeight float64
// maxWeight holds maximume weight of item on the ring.
// maxWeight holds maximum weight of item on the ring.
// It is protected by r.mu mutex.
maxWeight float64

Expand Down

0 comments on commit 7825400

Please sign in to comment.