aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-ketama
diff options
context:
space:
mode:
authorYuchen Wu <[email protected]>2024-03-29 15:42:20 -0700
committerAndrew Hauck <[email protected]>2024-04-05 11:46:20 -0700
commitdfcd3d1d9f493b830e97757ba8d43c07ee81c030 (patch)
tree0cfa357cd4257b0ea2b7c2d116c937426190b1cd /pingora-ketama
parent3c5d99c3f49a8d40a0fc16895b148dea9ea18e8d (diff)
downloadpingora-dfcd3d1d9f493b830e97757ba8d43c07ee81c030.tar.gz
pingora-dfcd3d1d9f493b830e97757ba8d43c07ee81c030.zip
Fix typos and grammar issues in docs
And other things. Co-authored-by: DimanNe <[email protected]> Co-authored-by: Xiaobo Liu <[email protected]> Co-authored-by: houseme <[email protected]> Co-authored-by: lilo <[email protected]> Co-authored-by: Yang He <[email protected]>
Diffstat (limited to 'pingora-ketama')
-rw-r--r--pingora-ketama/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pingora-ketama/src/lib.rs b/pingora-ketama/src/lib.rs
index 07877fe..cce4a6f 100644
--- a/pingora-ketama/src/lib.rs
+++ b/pingora-ketama/src/lib.rs
@@ -101,7 +101,7 @@ struct Point {
hash: u32,
}
-// We only want to compare the hash when sorting so we implement these traits by hand.
+// We only want to compare the hash when sorting, so we implement these traits by hand.
impl Ord for Point {
fn cmp(&self, other: &Self) -> Ordering {
self.hash.cmp(&other.hash)