Skip to content

Commit

Permalink
Merge pull request hashicorp#25019 from 0zAND1z/patch-2
Browse files Browse the repository at this point in the history
Update hashcode.go
  • Loading branch information
Pam Selle authored Aug 28, 2020
2 parents 73cba31 + ae717e6 commit 8163c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/hashcode/hashcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 8163c97

Please sign in to comment.