From ae717e617566a08dd94e12b66f94739b5cb538e1 Mon Sep 17 00:00:00 2001 From: Ganesh Prasad Kumble <11145839+0zAND1z@users.noreply.github.com> Date: Fri, 22 May 2020 11:28:56 +0530 Subject: [PATCH] Update hashcode.go Updating the comment `we need and non negative integer` to `we need a non negative integer` --- helper/hashcode/hashcode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/hashcode/hashcode.go b/helper/hashcode/hashcode.go index 6ccc523183..a3faed380c 100644 --- a/helper/hashcode/hashcode.go +++ b/helper/hashcode/hashcode.go @@ -9,7 +9,7 @@ import ( // String hashes a string to a unique hashcode. // // crc32 returns a uint32, but for our use we need -// and non negative integer. Here we cast to an integer +// a non negative integer. Here we cast to an integer // and invert it if the result is negative. func String(s string) int { v := int(crc32.ChecksumIEEE([]byte(s)))