Skip to content

Commit 37a47c2

Browse files
committed
moved nolint hints
1 parent 760a528 commit 37a47c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/decimal/decimal.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func Err() *big.Int { return big.NewInt(0).Set(err) }
5454
//
5555
// If given bytes contains value that is greater than given precision it
5656
// returns infinity or negative infinity value accordingly the bytes sign.
57-
func FromBytes(bts []byte, precision, scale uint32) *big.Int { //nolint:ifshort
57+
func FromBytes(bts []byte, precision, scale uint32) *big.Int {
5858
v := big.NewInt(0)
5959
if len(bts) == 0 {
6060
return v
@@ -88,7 +88,7 @@ func FromInt128(p [16]byte, precision, scale uint32) *big.Int {
8888

8989
// Parse interprets a string s with the given precision and scale and returns
9090
// the corresponding big integer.
91-
func Parse(s string, precision, scale uint32) (*big.Int, error) { //nolint:ifshort
91+
func Parse(s string, precision, scale uint32) (*big.Int, error) {
9292
if scale > precision {
9393
return nil, precisionError(s, precision, scale)
9494
}

0 commit comments

Comments
 (0)