We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2d3a6a commit 5e2ed03Copy full SHA for 5e2ed03
bcrypt/bcrypt.go
@@ -50,7 +50,7 @@ func (ih InvalidHashPrefixError) Error() string {
50
type InvalidCostError int
51
52
func (ic InvalidCostError) Error() string {
53
- return fmt.Sprintf("crypto/bcrypt: cost %d is outside allowed range (%d,%d)", int(ic), MinCost, MaxCost)
+ return fmt.Sprintf("crypto/bcrypt: cost %d is outside allowed range [%d,%d]", int(ic), MinCost, MaxCost)
54
}
55
56
const (
0 commit comments