Skip to content

Commit 4b17eb6

Browse files
authored
Merge pull request #244 from agoalofalife/patch-2
Redundant parentheses
2 parents ed4c4d8 + 5136982 commit 4b17eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ type Result struct {
1212
}
1313

1414
func (r *Result) HasErrors() bool {
15-
return (len(r.Errors) > 0)
15+
return len(r.Errors) > 0
1616
}

0 commit comments

Comments
 (0)